]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: stop the remount_finisher thread in the Client::unmount() 47620/head
authorXiubo Li <xiubli@redhat.com>
Mon, 15 Aug 2022 09:50:27 +0000 (17:50 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 16 Aug 2022 04:19:20 +0000 (12:19 +0800)
commit90f9713607e2a752ea91c9941a46d7757a8bb605
tree02041e99a731a245de6905e0c6af887d5a430793
parentc4d6729fb8e792eab90c0bf436446da71c8e313c
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>
src/client/Client.cc