summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorDavid Disseldorp2019-04-18 14:15:46 +0200
committerIlya Dryomov2019-07-08 14:01:40 +0200
commit193e7b37628e97c6e66ec26a2c062dace68b4acd (patch)
tree24bcc4b4dc2d768479ab76a1e7e1609c6319059b /fs/ceph/mds_client.h
parentceph: clean up ceph.dir.pin vxattr name sizeof() (diff)
downloadkernel-qcow2-linux-193e7b37628e97c6e66ec26a2c062dace68b4acd.tar.gz
kernel-qcow2-linux-193e7b37628e97c6e66ec26a2c062dace68b4acd.tar.xz
kernel-qcow2-linux-193e7b37628e97c6e66ec26a2c062dace68b4acd.zip
ceph: carry snapshot creation time with inodes
MDS InodeStat v3 wire structures include a trailing snapshot creation time member. Unmarshall this and retain it for a future vxattr. Signed-off-by: David Disseldorp <ddiss@suse.de> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> 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 a83f28bc2387..9c28b86abcf4 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -69,6 +69,7 @@ struct ceph_mds_reply_info_in {
u64 max_bytes;
u64 max_files;
s32 dir_pin;
+ struct ceph_timespec snap_btime;
};
struct ceph_mds_reply_dir_entry {