summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorYan, Zheng2019-01-09 03:10:17 +0100
committerIlya Dryomov2019-03-05 18:55:16 +0100
commitb37fe1f923fb4b17dc7d63406ec8dc67f13c2799 (patch)
tree3628f4834ca063b260c4627a834fcf6df2cd5340 /fs/ceph/mds_client.h
parentceph: map snapid to anonymous bdev ID (diff)
downloadkernel-qcow2-linux-b37fe1f923fb4b17dc7d63406ec8dc67f13c2799.tar.gz
kernel-qcow2-linux-b37fe1f923fb4b17dc7d63406ec8dc67f13c2799.tar.xz
kernel-qcow2-linux-b37fe1f923fb4b17dc7d63406ec8dc67f13c2799.zip
ceph: support versioned reply
In versioned reply, inodestat, dirstat and lease are encoded with version, compat_version and struct_len. Based on a patch from Jos Collin <jcollin@redhat.com>. Link: http://tracker.ceph.com/issues/26936 Signed-off-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 d3a5c4046316..0919aacc1af3 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -26,6 +26,7 @@
#define CEPHFS_FEATURES_CLIENT_SUPPORTED { \
0, 1, 2, 3, 4, 5, 6, 7, \
CEPHFS_FEATURE_MIMIC, \
+ CEPHFS_FEATURE_REPLY_ENCODING, \
CEPHFS_FEATURE_LAZY_CAP_WANTED, \
CEPHFS_FEATURE_MULTI_RECONNECT, \
}