]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: skip checking caps when session reconnecting and releasing reqs
authorXiubo Li <xiubli@redhat.com>
Wed, 27 May 2020 13:09:27 +0000 (09:09 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 1 Jun 2020 11:22:53 +0000 (13:22 +0200)
commitec7a9b2cb6dc34f5b92a447207913d81462b2123
tree5b3cd65873e3192e0c31c99a6b27bf9a18a1131b
parent741318378fb77db34f3c4c4b604246324438ab97
ceph: skip checking caps when session reconnecting and releasing reqs

It make no sense to check the caps when reconnecting to mds. And
for the async dirop caps, they will be put by its _cb() function,
so when releasing the requests, it will make no sense too.

URL: https://tracker.ceph.com/issues/45635
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/super.h