diff options
| author | Yan, Zheng <zyan@redhat.com> | 2018-04-25 05:30:23 -0400 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 14:45:55 -0400 |
| commit | 49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee (patch) | |
| tree | 7402e8789a4102a387512fd195b703d3da32eaf7 /include/linux/ceph | |
| parent | 4e9906e7985b962ca3b9f8ab66c0353e6e3ab45e (diff) | |
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')
| -rw-r--r-- | include/linux/ceph/ceph_fs.h | 1 |
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); | |||
| 628 | CEPH_CAP_XATTR_SHARED) | 628 | CEPH_CAP_XATTR_SHARED) |
| 629 | #define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \ | 629 | #define CEPH_STAT_CAP_INLINE_DATA (CEPH_CAP_FILE_SHARED | \ |
| 630 | CEPH_CAP_FILE_RD) | 630 | CEPH_CAP_FILE_RD) |
| 631 | #define CEPH_STAT_RSTAT CEPH_CAP_FILE_WREXTEND | ||
| 631 | 632 | ||
| 632 | #define CEPH_CAP_ANY_SHARED (CEPH_CAP_AUTH_SHARED | \ | 633 | #define CEPH_CAP_ANY_SHARED (CEPH_CAP_AUTH_SHARED | \ |
| 633 | CEPH_CAP_LINK_SHARED | \ | 634 | CEPH_CAP_LINK_SHARED | \ |
