]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: remove incorrect session state check
authorXiubo Li <xiubli@redhat.com>
Tue, 22 Mar 2022 03:03:13 +0000 (11:03 +0800)
committerJeff Layton <jlayton@kernel.org>
Fri, 29 Apr 2022 20:06:34 +0000 (16:06 -0400)
commit69d4b026edb91c1f72dc4ab49bb92341061ece21
treec1d31fcd433653138beb7a0614725a4befbb5c92
parentd8a208c7a8cdc3c48ddc915a4ef636b53c8d57b3
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