[GH-ISSUE #571] _$folder$ configuration #327

Closed
opened 2026-03-04 01:44:25 +03:00 by kerem · 2 comments
Owner

Originally created by @gaul on GitHub (Apr 30, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/571

s3fs stores directory metadata in one of two formats: name + trailing _$folder$ and /. I believe the former exists before Amazon recommended the latter. Some systems like B2 and minio cannot support the latter. s3fs issues extra RPCs to probe the object store in case one or the other exists. We should consider adding a configuration knob for which format to use to avoid the extra RPCs. This behavior dates back to 36447a23eb to support s3fox.

Originally created by @gaul on GitHub (Apr 30, 2017). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/571 s3fs stores directory metadata in one of two formats: name + trailing `_$folder$` and `/`. I believe the former exists before Amazon recommended the latter. Some systems like B2 and minio cannot support the latter. s3fs issues extra RPCs to probe the object store in case one or the other exists. We should consider adding a configuration knob for which format to use to avoid the extra RPCs. This behavior dates back to 36447a23eb46089bf59df8c26dfb6f045c10e88b to support s3fox.
kerem closed this issue 2026-03-04 01:44:25 +03:00
Author
Owner

@ggtakec commented on GitHub (May 5, 2017):

I added new option "notsup_compat_dir" to master branch.(#579)
It is an option to disable checking of s3fs compatible directory objects.
If it is a bucket created with s3fs (only s3fs may be used) it will work without problems.

However, I do not recommend this option.
This is because it is assumed that it does not include uploaded objects using s3cmd, s3 console, or other tools.
If s3fs can not recognize the directory object, the user will lose convenience.

However, for users who wish to reduce the cost of communication more than that, they can use it at their own risk.

@andrewgaul @sqlbot
Please tell me your opinion.

<!-- gh-comment-id:299530931 --> @ggtakec commented on GitHub (May 5, 2017): I added new option "notsup_compat_dir" to master branch.(#579) It is an option to disable checking of s3fs compatible directory objects. If it is a bucket created with s3fs (only s3fs may be used) it will work without problems. However, I do **not recommend** this option. This is because it is assumed that it does not include uploaded objects using s3cmd, s3 console, or other tools. If s3fs can not recognize the directory object, the user will lose convenience. However, for users who wish to reduce the cost of communication more than that, they can use it at their own risk. @andrewgaul @sqlbot Please tell me your opinion.
Author
Owner

@gaul commented on GitHub (Jan 24, 2019):

Resolved.

<!-- gh-comment-id:457037425 --> @gaul commented on GitHub (Jan 24, 2019): Resolved.
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#327
No description provided.