diff options
author | Yanhu Cao <gmayyyha@gmail.com> | 2020-08-28 03:28:44 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-04-27 23:52:23 +0200 |
commit | e7f72952508ac4354f9bec0607ac8a200d050e65 (patch) | |
tree | 085cc7df14c74d854b97ae98712ec14f5509e221 /fs/ceph/super.h | |
parent | ceph: drop pinned_page parameter from ceph_get_caps (diff) | |
download | linux-e7f72952508ac4354f9bec0607ac8a200d050e65.tar.xz linux-e7f72952508ac4354f9bec0607ac8a200d050e65.zip |
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/super.h')
-rw-r--r-- | fs/ceph/super.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 68dd6a8520dd..df0851b9240e 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -334,7 +334,7 @@ struct ceph_inode_info { /* for dirs */ struct timespec64 i_rctime; - u64 i_rbytes, i_rfiles, i_rsubdirs; + u64 i_rbytes, i_rfiles, i_rsubdirs, i_rsnaps; u64 i_files, i_subdirs; /* quotas */ |