summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorYan, Zheng2015-05-05 15:22:13 +0200
committerIlya Dryomov2015-06-25 10:49:29 +0200
commitaffbc19a68f9966ad65a773db405f78e2bafc07b (patch)
tree63c34c40700e8b1fe1a73f1df244f3143b7aa99f /fs/ceph/mds_client.h
parentceph: don't trim auth cap when there are cap snaps (diff)
downloadkernel-qcow2-linux-affbc19a68f9966ad65a773db405f78e2bafc07b.tar.gz
kernel-qcow2-linux-affbc19a68f9966ad65a773db405f78e2bafc07b.tar.xz
kernel-qcow2-linux-affbc19a68f9966ad65a773db405f78e2bafc07b.zip
ceph: make sure syncfs flushes all cap snaps
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/mds_client.h')
-rw-r--r--fs/ceph/mds_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index d474141c034a..bf24d88cfeb2 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -290,6 +290,7 @@ struct ceph_mds_client {
* references (implying they contain no inodes with caps) that
* should be destroyed.
*/
+ u64 last_snap_seq;
struct rw_semaphore snap_rwsem;
struct rb_root snap_realms;
struct list_head snap_empty;