commit | 2af54a72b585a7cc46fb28845a121635c2540563 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Fri Apr 27 11:14:39 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jun 04 20:45:55 2018 +0200 |
tree | 499dfc97917f461012aff6af9ba5cfc8302dcdb9 | |
parent | 49a9f4f6714ec0ca2c6ada2ce764fbdd694962ee [diff] |
ceph: update i_files/i_subdirs only when Fs cap is issued In MDS, file/subdir counts of a directory inode are protected by filelock. In request reply without Fs cap, nfiles/nsubdirs can be stale. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>