mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2130] [CLOSED] Fix an issue that cache space will not be freed #2348
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2348
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2130
Author: @huntersman
Created: 3/15/2023
Status: ❌ Closed
Base:
master← Head:fix-space-not-free📝 Commits (1)
d6c5707Update s3fs.cpp📊 Changes
1 file changed (+13 additions, -6 deletions)
View changed files
📝
src/s3fs.cpp(+13 -6)📄 Description
Relevant Issue (if applicable)
#2128
Details
I think cache space will not be freed is because
s3fs_unlinkalready delete the cache file, but.fuse_hiddenfile is generated which is also in the cache space. So I use a set to record file which is downloading, and only remove cache file when file is not in set.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.