commit | bf73c62e7ff8dc220f3f57df4e42f9947320c447 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Mar 05 20:21:04 2020 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Mar 30 12:42:42 2020 +0200 |
tree | 51f79339f70165d99272ae502419a464ad2850c7 | |
parent | 11ba6b9ceeb4e20e0610ad249f9187dba412f787 [diff] |
ceph: check all mds' caps after page writeback If an inode has caps from multiple mds's, the following can happen: - non-auth mds revokes Fsc. Fcb is used, so page writeback is queued. - when writeback finishes, ceph_check_caps() is called with auth only flag. ceph_check_caps() invalidates pagecache, but skips checking any non-auth caps. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>