diff options
author | Yan, Zheng <zyan@redhat.com> | 2018-04-25 17:30:23 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 20:45:55 +0200 |
commit | 49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee (patch) | |
tree | 7402e8789a4102a387512fd195b703d3da32eaf7 /fs/ceph/caps.c | |
parent | 4e9906e7985b962ca3b9f8ab66c0353e6e3ab45e (diff) | |
download | lwn-49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee.tar.gz lwn-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 'fs/ceph/caps.c')
-rw-r--r-- | fs/ceph/caps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 23dbfae16156..1b9f611c9dfe 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -69,6 +69,8 @@ static char *gcap_string(char *s, int c) *s++ = 'w'; if (c & CEPH_CAP_GBUFFER) *s++ = 'b'; + if (c & CEPH_CAP_GWREXTEND) + *s++ = 'a'; if (c & CEPH_CAP_GLAZYIO) *s++ = 'l'; return s; |