]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: more precise CEPH_CLIENT_CAPS_PENDING_CAPSNAP
authorYan, Zheng <zyan@redhat.com>
Thu, 20 Jun 2019 09:39:28 +0000 (17:39 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 21 Jun 2019 09:03:40 +0000 (17:03 +0800)
commit8628340e28208ad63019a6da61642f48fbde6313
treea3eeb3efef7c03457e7a6d9abaa7a3fbb4d962f7
parenta76f9e78b4d377e0ef6184be0bea56a9765363b0
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>
src/client/Client.cc
src/client/Client.h