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)
commite64f44a884657358812e6c057957be546db03cbe
tree5b3cd65873e3192e0c31c99a6b27bf9a18a1131b
parentea8412b284c09742d5b11721e225b4ff011aa397
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