[PR #280] [MERGED] Supported a object which is larger than free disk space #1442

Closed
opened 2026-03-04 01:53:59 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (4)

  • d102eb7 Supported a object which is larger than free disk space
  • 1b323a6 Changed debug option to dbglevel in test script.
  • 83d46ef Fixed bugs about a object larger than free disk space
  • 8dd234d Fixed 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.
  • Adds new option, ensure_diskfree
    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.
  • fd_page_size option is no longer used
    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.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/280 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 10/18/2015 **Status:** ✅ Merged **Merged:** 10/20/2015 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`d102eb7`](https://github.com/s3fs-fuse/s3fs-fuse/commit/d102eb752dbdbf45f06daec0f2fb39c7c2c22248) Supported a object which is larger than free disk space - [`1b323a6`](https://github.com/s3fs-fuse/s3fs-fuse/commit/1b323a6252a07a9cd7168ae09129968306e0f28e) Changed debug option to dbglevel in test script. - [`83d46ef`](https://github.com/s3fs-fuse/s3fs-fuse/commit/83d46ef8c6af9b47ce2b95421ddff42e5dd057bf) Fixed bugs about a object larger than free disk space - [`8dd234d`](https://github.com/s3fs-fuse/s3fs-fuse/commit/8dd234dd8fa00ce1e2ebfad7425eb54e07c76541) Fixed bugs about cppcheck error ### 📊 Changes **8 files changed** (+1191 additions, -526 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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. - Adds new option, ensure_diskfree 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. - fd_page_size option is no longer used This option was not the designation of one page size of the cache file, this designation is no longer required. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:53:59 +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#1442
No description provided.