]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: improve the code of setattr for atime/mtime
authorXiubo Li <xiubli@redhat.com>
Mon, 11 Oct 2021 08:45:16 +0000 (16:45 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 20 Dec 2021 00:44:50 +0000 (08:44 +0800)
commitd3d1be4c62a8358569f0fea3a9ac17475c1e173b
tree977334df2935d1f42f08cc975ff68e77900a0947
parentb557d642aeb21acf8b456a4addf6da63b17e1f68
client: improve the code of setattr for atime/mtime

When the Fw caps is issued and increasing the atime/mtime, we can
buffer the atime/mtime. And when the Fs caps is issued and they
are not changing we can just ignore them.

In case when recovering the atime/mtime maybe decreased, no matter
the Fsw caps are issued, always send the request immediatelly.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc