Project

General

Profile

Backport #16339

Updated by Vikhyat Umrao almost 8 years ago

rgw : support size suffixes for --max-size in radosgw-admin command  

 <pre> 
 # radosgw-admin --help 
 usage: radosgw-admin <cmd> [options...] 
 [...] 

 Quota options: 
    --bucket                    specified bucket for quota command 
    --max-objects               specify max objects (negative value to disable) 
    --max-size                  specify max size (in bytes, negative value to disable) <------------ 
    --quota-scope               scope of quota (bucket, user) 

 </pre> 

 - Currently    `--max-size` only takes size in bytes.

Back