mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #280] [MERGED] Supported a object which is larger than free disk space #1442
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#1442
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/280
Author: @ggtakec
Created: 10/18/2015
Status: ✅ Merged
Merged: 10/20/2015
Merged by: @ggtakec
Base:
master← Head:master📝 Commits (4)
d102eb7Supported a object which is larger than free disk space1b323a6Changed debug option to dbglevel in test script.83d46efFixed bugs about a object larger than free disk space8dd234dFixed bugs about cppcheck error📊 Changes
8 files changed (+1191 additions, -526 deletions)
View changed files
📝
doc/man/s3fs.1(+7 -10)📝
src/curl.cpp(+37 -2)📝
src/curl.h(+9 -3)📝
src/fdcache.cpp(+950 -359)📝
src/fdcache.h(+75 -34)📝
src/s3fs.cpp(+105 -109)📝
src/s3fs_util.cpp(+6 -8)📝
test/small-integration-test.sh(+2 -1)📄 Description
Supported a object which is larger than free disk space, and added ensure_diskfree option
About this change, s3fs uploads the object which is larger than free disk space on demand.
In that situation, s3fs stops the multipart upload of in parallel, and uplaods each part as serial.
Following option is added/deleted.
This option means the threshold of free space size on disk which is used for the cache file by s3fs.
If the free disk space is smaller than this threshold, s3fs download/upload the object without using the cache files.
The default value for this option is the same as the value of multipart_size.
With this option, s3fs can upload a file which is larger than free disk space.
If nomultipart is specified, s3fs failed to upload when over free disk space.
This option was not the designation of one page size of the cache file, this designation is no longer required.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.