mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 01:08:54 +00:00
Correct singlepart_copy_limit unit (#1561)
This is documented to be in MB not KB. Co-authored-by: Takeshi Nakatani <ggtakec@gmail.com>
This commit is contained in:
parent
ec8bae9827
commit
7f6fbb0021
@ -4519,7 +4519,7 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(is_prefix(arg, "singlepart_copy_limit=")){
|
if(is_prefix(arg, "singlepart_copy_limit=")){
|
||||||
singlepart_copy_limit = static_cast<int64_t>(cvt_strtoofft(strchr(arg, '=') + sizeof(char))) * 1024;
|
singlepart_copy_limit = static_cast<int64_t>(cvt_strtoofft(strchr(arg, '=') + sizeof(char))) * 1024 * 1024;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(is_prefix(arg, "ahbe_conf=")){
|
if(is_prefix(arg, "ahbe_conf=")){
|
||||||
|
@ -64,7 +64,7 @@ FLAGS=(
|
|||||||
notsup_compat_dir
|
notsup_compat_dir
|
||||||
sigv2
|
sigv2
|
||||||
sigv4
|
sigv4
|
||||||
singlepart_copy_limit=$((10 * 1024)) # limit size to exercise multipart code paths
|
singlepart_copy_limit=10 # limit size to exercise multipart code paths
|
||||||
#use_sse # TODO: S3Proxy does not support SSE
|
#use_sse # TODO: S3Proxy does not support SSE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user