[GH-ISSUE #1057] [RFE] Cache Limit #581

Open
opened 2026-03-04 01:46:56 +03:00 by kerem · 0 comments
Owner

Originally created by @bstromski on GitHub (Jun 27, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1057

Additional Information

S3fs has a ensure_diskfree option, but if filesystems vary by size, ensure_diskfree would have to be dynamic to each system running s3fs.

Wouldn't it be easier to have a cache_limit option that prevents the default (tmp) or cachedir from exceeding that value? This would allow users to set X value for cache size to any cachedir they chose without the need for calculating how much free space should reside in tmp or cachedir per system.

Version of s3fs being used (s3fs --version)

s3fs-fuse-1.85-1.el7.x86_64

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)

fuse-2.9.2-10.el7.x86_64
fuse-libs-2.9.2-10.el7.x86_64
s3fs-fuse-1.85-1.el7.x86_64

Kernel information (uname -r)

3.10.0

GNU/Linux Distribution, if applicable (cat /etc/os-release)

RHEL 7.5

s3fs command line used, if applicable

NA

/etc/fstab entry, if applicable

NA

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages

NA
Originally created by @bstromski on GitHub (Jun 27, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1057 ### Additional Information S3fs has a ensure_diskfree option, but if filesystems vary by size, ensure_diskfree would have to be dynamic to each system running s3fs. Wouldn't it be easier to have a cache_limit option that prevents the default (tmp) or cachedir from exceeding that value? This would allow users to set X value for cache size to any cachedir they chose without the need for calculating how much free space should reside in tmp or cachedir per system. #### Version of s3fs being used (s3fs --version) s3fs-fuse-1.85-1.el7.x86_64 #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse) fuse-2.9.2-10.el7.x86_64 fuse-libs-2.9.2-10.el7.x86_64 s3fs-fuse-1.85-1.el7.x86_64 #### Kernel information (uname -r) 3.10.0 #### GNU/Linux Distribution, if applicable (cat /etc/os-release) RHEL 7.5 #### s3fs command line used, if applicable ``` NA ``` #### /etc/fstab entry, if applicable ``` NA ``` #### s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs) _if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages_ ``` NA ```
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#581
No description provided.