[GH-ISSUE #1148] Readlink spams s3curl calls even when cache is specified #601

Closed
opened 2026-03-04 01:47:06 +03:00 by kerem · 1 comment
Owner

Originally created by @AgrawalAmey on GitHub (Sep 8, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1148

Additional Information

I am creating a symlink within the mounted directory to a local directory. This local directory is used to store some application data and sees a lot of fs calls. From the logs, it appears that even though both file and stat cache are enabled the readlink call always makes a s3curl call to get the link target path.

Version of s3fs being used (s3fs --version)

1.85

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

3.6.2

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

CentOS/AMZ Linux

s3fs command line used, if applicable

s3fs <bucket> <local-dir> -f -d -d -o \
use_path_request_style,\
allow_other,\
use_cache=<cache_dir>,\
stat_cache_expire=30,\
iam_role=auto
Originally created by @AgrawalAmey on GitHub (Sep 8, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1148 ### Additional Information I am creating a symlink within the mounted directory to a local directory. This local directory is used to store some application data and sees a lot of fs calls. From the logs, it appears that even though both file and stat cache are enabled the readlink call always makes a s3curl call to get the link target path. #### Version of s3fs being used (s3fs --version) 1.85 #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse) 3.6.2 #### GNU/Linux Distribution, if applicable (cat /etc/os-release) CentOS/AMZ Linux #### s3fs command line used, if applicable ``` s3fs <bucket> <local-dir> -f -d -d -o \ use_path_request_style,\ allow_other,\ use_cache=<cache_dir>,\ stat_cache_expire=30,\ iam_role=auto ```
kerem closed this issue 2026-03-04 01:47:07 +03:00
Author
Owner

@gaul commented on GitHub (Feb 3, 2020):

Addressed by PRs.

<!-- gh-comment-id:581288534 --> @gaul commented on GitHub (Feb 3, 2020): Addressed by PRs.
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#601
No description provided.