]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: fix possible long time wait during umount
authorXiubo Li <xiubli@redhat.com>
Wed, 4 Dec 2019 06:27:18 +0000 (01:27 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 10 Jan 2020 10:11:06 +0000 (11:11 +0100)
commit620cca22cae6e848d1dfc7d2632f39e7c965be05
tree0d77adaeb582b87545e1e078e5c1c5916a3ecadb
parent31b3a597b836510980b51f357f505ccc4f9060e6
ceph: fix possible long time wait during umount

During umount, if there has no any unsafe request in the mdsc and
some requests still in-flight and not got reply yet, and if the
rest requets are all safe ones, after that even all of them in mdsc
are unregistered, the umount must wait until after mount_timeout
seconds anyway.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/mds_client.c