diff options
author | Jeff Layton <jlayton@kernel.org> | 2020-11-03 22:00:26 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-12-15 01:21:47 +0300 |
commit | 81048c00d133512e4b4a848b0653d782a83e5911 (patch) | |
tree | 9a0081078b8001fcf3be582ce854ac9af3810ac3 /fs/ceph/metric.h | |
parent | 06a1ad438b7b8d4fd689114a305b37cb526ff638 (diff) | |
download | linux-81048c00d133512e4b4a848b0653d782a83e5911.tar.xz |
ceph: acquire Fs caps when getting dir stats
We only update the inode's dirstats when we have Fs caps from the MDS.
Declare a new VXATTR_FLAG_DIRSTAT that we set on all dirstats, and have
the vxattr handling code acquire those caps when it's set.
URL: https://tracker.ceph.com/issues/48104
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/metric.h')
0 files changed, 0 insertions, 0 deletions