summaryrefslogtreecommitdiff
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorYanhu Cao <gmayyyha@gmail.com>2020-08-28 04:28:44 +0300
committerIlya Dryomov <idryomov@gmail.com>2021-04-28 00:52:23 +0300
commite7f72952508ac4354f9bec0607ac8a200d050e65 (patch)
tree085cc7df14c74d854b97ae98712ec14f5509e221 /fs/ceph/mds_client.h
parente72968e15b297a51dcefe93a95e875dcefe6c4aa (diff)
downloadlinux-e7f72952508ac4354f9bec0607ac8a200d050e65.tar.xz
ceph: support getting ceph.dir.rsnaps vxattr
Add support for grabbing the rsnaps value out of the inode info in traces, and exposing that via ceph.dir.rsnaps xattr. Signed-off-by: Yanhu Cao <gmayyyha@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.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 eaa7c5422116..15c11a0f2caf 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -88,6 +88,7 @@ struct ceph_mds_reply_info_in {
s32 dir_pin;
struct ceph_timespec btime;
struct ceph_timespec snap_btime;
+ u64 rsnaps;
u64 change_attr;
};