commit | 81048c00d133512e4b4a848b0653d782a83e5911 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Tue Nov 03 14:00:26 2020 -0500 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Dec 14 23:21:47 2020 +0100 |
tree | 9a0081078b8001fcf3be582ce854ac9af3810ac3 | |
parent | 06a1ad438b7b8d4fd689114a305b37cb526ff638 [diff] |
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>