[PR #2204] [MERGED] fix streamuplod not working #2387

Closed
opened 2026-03-04 02:05:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2204
Author: @VVoidV
Created: 7/1/2023
Status: Merged
Merged: 7/2/2023
Merged by: @ggtakec

Base: masterHead: fix-streamupload


📝 Commits (1)

  • fba7d3e fix streamuplod not working

📊 Changes

1 file changed (+7 additions, -12 deletions)

View changed files

📝 src/s3fs.cpp (+7 -12)

📄 Description

Relevant Issue (if applicable)

#2203 #2188

Details

fuse_main will do fork to daemonize. if ThreadPool is created before this, worker thread will not be placed in child process.

Move ThreadPool Init to s3fs_init and destory to s3fs_destory.

#2188 may be also related to this. When umount s3fs, ThreadPool::Destroy() will dereference some stale handler.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2204 **Author:** [@VVoidV](https://github.com/VVoidV) **Created:** 7/1/2023 **Status:** ✅ Merged **Merged:** 7/2/2023 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `fix-streamupload` --- ### 📝 Commits (1) - [`fba7d3e`](https://github.com/s3fs-fuse/s3fs-fuse/commit/fba7d3e9e637f65c2b0ba07eee15b674f371a2fb) fix streamuplod not working ### 📊 Changes **1 file changed** (+7 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/s3fs.cpp` (+7 -12) </details> ### 📄 Description <!-- -------------------------------------------------------------------------- Please describe the purpose of the pull request(such as resolving the issue) and what the fix/update is. --------------------------------------------------------------------------- --> ### Relevant Issue (if applicable) <!-- If there are Issues related to this PullRequest, please list it. --> #2203 #2188 ### Details <!-- Please describe the details of PullRequest. --> fuse_main will do fork to daemonize. if ThreadPool is created before this, worker thread will not be placed in child process. Move ThreadPool Init to s3fs_init and destory to s3fs_destory. #2188 may be also related to this. When umount s3fs, ThreadPool::Destroy() will dereference some stale handler. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:05:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2387
No description provided.