]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: remove incorrect session state check
authorXiubo Li <xiubli@redhat.com>
Tue, 22 Mar 2022 03:03:13 +0000 (11:03 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 25 Apr 2022 08:45:15 +0000 (10:45 +0200)
commit085025cfc3b78c0a8ba9a0eced5c9d485cfa38a1
tree7be9891f5ff91d2daaa1e7015d264d4d734cf372
parentc92bb1ee008f0851d16af381d66ba13e9cf25419
ceph: remove incorrect session state check

Once the session is opened the s->s_ttl will be set, and when receiving
a new mdsmap and the MDS map is changed, it will be possibly will close
some sessions and open new ones. And then some sessions will be in
CLOSING state evening without unmounting.

URL: https://tracker.ceph.com/issues/54979
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c