]> 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)
commitfc9982fb4b1b4507400806792049da3ffd244fcd
tree7be9891f5ff91d2daaa1e7015d264d4d734cf372
parenta7c9135a194d1e49748b671a852407ca5f1e9245
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