aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2018-04-25 17:30:23 +0800
committerIlya Dryomov <idryomov@gmail.com>2018-06-04 20:45:55 +0200
commit49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee (patch)
tree7402e8789a4102a387512fd195b703d3da32eaf7 /include/linux/ceph/ceph_fs.h
parentceph: use bit flags to define vxattr attributes (diff)
downloadlinux-dev-49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee.tar.xz
linux-dev-49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee.zip
ceph: always get rstat from auth mds
rstat is not tracked by capability. client can't know if rstat from non-auth mds is uptodate or not. Link: http://tracker.ceph.com/issues/23538 Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph/ceph_fs.h')
-rw-r--r--include/linux/ceph/ceph_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h
index 7ecfc88314d8..4903deb0777a 100644
--- a/include/linux/ceph/ceph_fs.h
+++ b/include/linux/ceph/ceph_fs.h
@@ -628,6 +628,7 @@ int ceph_flags_to_mode(int flags);
CEPH_CAP_XATTR_SHARED)
#define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \
CEPH_CAP_FILE_RD)
+#define CEPH_STAT_RSTAT CEPH_CAP_FILE_WREXTEND
#define CEPH_CAP_ANY_SHARED (CEPH_CAP_AUTH_SHARED | \
CEPH_CAP_LINK_SHARED | \