Re: some question about limiting multi part size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Copying ceph-devel.

On Fri, 15 Aug 2014, xianghong.li wrote:
> 
> Hi:
> 
>   I come from china,I am using the ceph,and using the ceph-s3 API to do some
> thing,it?s version is 0.72.2. now, I want to limit the min size of each
> multi part, that is, if you chose using multi upload object,the object size
> must big than 5MB, and then every part must big than 5MB except the last
> one.what should I do to meet my needs.
> 
> I read the ceph source. The code is:
> 
>      ceph / src / rgw / rgw_common.h
> 
>      #define RGW_MIN_MULTIPART_SIZE (5ULL*1024*1024)
> 
> ceph / src / rgw / rgw_op.cc

This #define isn't used anywhere, at least not in the latest master 
branch.   0.72.2 is a bit old; you should look at the firefly or master 
branch.  There may be a tunable controlling this in 
common/config_opts.h...

sags



> 
>      [IMAGE]
> 
>  
> 
> When I try to upload an 2.3MB object by multi upload,the  complete xml file
> is :
> 
>  
> 
> [IMAGE]
> 
> Why can I upload successfully? the ceph-s3 API don?t check the size of each
> part?
> 
> Please tell me how to solve this question.
> 
>  
> 
>                                                Thank you!
> 
>                                                 xianghonglee
> 
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux