mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
Merge pull request #1374 from gaul/deep-archive
Add support for deep archive storage class
This commit is contained in:
commit
e75c11956c
@ -82,8 +82,7 @@ delete local file cache when s3fs starts and exits.
|
||||
.TP
|
||||
\fB\-o\fR storage_class (default="standard")
|
||||
store object with specified storage class.
|
||||
this option replaces the old option use_rrs.
|
||||
Possible values: standard, standard_ia, onezone_ia, reduced_redundancy, intelligent_tiering, and glacier.
|
||||
Possible values: standard, standard_ia, onezone_ia, reduced_redundancy, intelligent_tiering, glacier, and deep_archive.
|
||||
.TP
|
||||
\fB\-o\fR use_rrs (default is disable)
|
||||
use Amazon's Reduced Redundancy Storage.
|
||||
|
@ -1168,7 +1168,8 @@ void show_help ()
|
||||
"\n"
|
||||
" storage_class (default=\"standard\")\n"
|
||||
" - store object with specified storage class. Possible values:\n"
|
||||
" standard, standard_ia, onezone_ia, reduced_redundancy, intelligent_tiering and glacier.\n"
|
||||
" standard, standard_ia, onezone_ia, reduced_redundancy,\n"
|
||||
" intelligent_tiering, glacier, and deep_archive.\n"
|
||||
"\n"
|
||||
" use_rrs (default is disable)\n"
|
||||
" - use Amazon's Reduced Redundancy Storage.\n"
|
||||
|
@ -30,6 +30,7 @@ class storage_class_t{
|
||||
REDUCED_REDUNDANCY,
|
||||
INTELLIGENT_TIERING,
|
||||
GLACIER,
|
||||
DEEP_ARCHIVE,
|
||||
UNKNOWN
|
||||
};
|
||||
|
||||
@ -52,6 +53,8 @@ class storage_class_t{
|
||||
return "INTELLIGENT_TIERING";
|
||||
case GLACIER:
|
||||
return "GLACIER";
|
||||
case DEEP_ARCHIVE:
|
||||
return "DEEP_ARCHIVE";
|
||||
case UNKNOWN:
|
||||
return NULL;
|
||||
}
|
||||
@ -71,6 +74,8 @@ class storage_class_t{
|
||||
return INTELLIGENT_TIERING;
|
||||
}else if(0 == strcmp(str, "glacier")){
|
||||
return GLACIER;
|
||||
}else if(0 == strcmp(str, "deep_archive")){
|
||||
return DEEP_ARCHIVE;
|
||||
}else{
|
||||
return UNKNOWN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user