mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #2305] [MERGED] Fixed a bug with setting the statvfs value #2462
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#2462
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/2305
Author: @ggtakec
Created: 9/4/2023
Status: ✅ Merged
Merged: 9/5/2023
Merged by: @gaul
Base:
master← Head:fix_statvfs📝 Commits (1)
d640711Fixed a bug with setting the statvfs value📊 Changes
2 files changed (+127 additions, -68 deletions)
View changed files
📝
src/s3fs.cpp(+103 -68)📝
test/integration-test-main.sh(+24 -0)📄 Description
Relevant Issue (if applicable)
n/a
Details
I noticed that the results of the
dfcommand are strange.In macos, all block sizes and free block sizes were zero.
Also, the values seemed strange on Linux(using a 64-bit block size).
Revised the
statvfssetting function(s3fs_statvfs) and fixed it so that if theblock_sizeoption is not specified, the maximum size is used.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.