ceph: try to check caps immediately after async creating finishes
authorXiubo Li <xiubli@redhat.com>
Mon, 17 Oct 2022 14:17:35 +0000 (22:17 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2022 18:15:39 +0000 (19:15 +0100)
commit68c62bee9d081cf815310b3a96e38d94fc16007d
tree9516c8722d9858c483d4f72fc3f91f2a83031dfd
parente4b731ccb0975fd97283e0c0d9841a89063ec31a
ceph: try to check caps immediately after async creating finishes

We should call the check_caps() again immediately after the async
creating finishes in case the MDS is waiting for caps revocation
to finish.

Link: https://tracker.ceph.com/issues/46904
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/super.h