[GH-ISSUE #1613] storage_class should allow arbitrary strings #849

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

Originally created by @gaul on GitHub (Mar 31, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1613

Currently s3fs uses an enum for allowed storage classes and fails if a user specifies something else:

S3FS_PRN_EXIT("unknown value for storage_class: %s", storage_class_str);

Instead it would be better to allow arbitrary strings which makes s3fs more flexible if AWS or some other implementation provides other storage classes.

Originally created by @gaul on GitHub (Mar 31, 2021). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1613 Currently s3fs uses an enum for allowed storage classes and fails if a user specifies something else: ```c++ S3FS_PRN_EXIT("unknown value for storage_class: %s", storage_class_str); ``` Instead it would be better to allow arbitrary strings which makes s3fs more flexible if AWS or some other implementation provides other storage classes.
kerem closed this issue 2026-03-04 01:49:19 +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#849
No description provided.