]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: stop the remount_finisher thread in the Client::unmount() 48108/head
authorXiubo Li <xiubli@redhat.com>
Mon, 15 Aug 2022 09:50:27 +0000 (17:50 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 15 Sep 2022 02:48:07 +0000 (10:48 +0800)
commit0374736cd23e87193f1eda4e4ba54ff9cb45cb55
treeeb0ffda38279fcf1fb6261ba6cf0ccc64c2f9e08
parent2a08bf128ff1ff559c9771b2fd0f0a59a72367b7
client: stop the remount_finisher thread in the Client::unmount()

The ceph_fuse will unmount the client and then finalize the cfuse
and at the same will free the mountpoint memory. And at last will
try to stop the remount_finisher thread. But the remount_finisher
thread will use the freed mountpoint to do the remount, which will
case unexpected remount failures.

Just stop the remount_finisher thread in the Client::unmount().

Fixes: https://tracker.ceph.com/issues/56249
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 90f9713607e2a752ea91c9941a46d7757a8bb605)
src/client/Client.cc