]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: more precise CEPH_CLIENT_CAPS_PENDING_CAPSNAP 31283/head
authorYan, Zheng <zyan@redhat.com>
Thu, 20 Jun 2019 09:39:28 +0000 (17:39 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 31 Oct 2019 10:35:28 +0000 (18:35 +0800)
commitfe3d4f6de96de7f084daf489a75ccc120c1fc296
tree4d86508c82c0c1dba3c55a7119b5a45347f5724a
parentd7f7491e25c025dae091e2b620120d808dc67c7f
client: more precise CEPH_CLIENT_CAPS_PENDING_CAPSNAP

Client uses this flag to tell mds if there is more cap snap need to
flush. It's mainly for the case that client needs to re-send cap/snap
flushes after mds failover, but CEPH_CAP_ANY_FILE_WR on corresponding
inodes are all released before mds failover

Fixes: https://tracker.ceph.com/issues/40474
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 8628340e28208ad63019a6da61642f48fbde6313)
src/client/Client.cc
src/client/Client.h