Skip to content

Commit

Permalink
curvefs/client: fix umount bug(#1841)
Browse files Browse the repository at this point in the history
stop s3 when where are download because, so umount will block

signed-off-by: hzwuhongsong [email protected]
  • Loading branch information
wuhongsong committed Sep 19, 2022
1 parent 5be2723 commit 23a5f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curvefs/src/client/fuse_s3_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ void FuseS3Client::travelChunks(fuse_ino_t ino, google::protobuf::Map<uint64_t,
void FuseS3Client::UnInit() {
bgFetchStop_.store(true, std::memory_order_release);
bgFetchThread_.join();
s3Adaptor_->Stop();
FuseClient::UnInit();
s3Adaptor_->Stop();
curve::common::S3Adapter::Shutdown();
}

Expand Down

0 comments on commit 23a5f66

Please sign in to comment.