Remove access key.
:command:`bucket list`
- List all buckets.
+ List buckets, or, if bucket specified with --bucket=<bucket>,
+ list its objects. If bucket specified adding --allow-unordered
+ removes ordering requirement, possibly generating results more
+ quickly in buckets with large number of objects.
:command:`bucket limit check`
Show bucket sharding stats.
cout << " subuser rm remove subuser\n";
cout << " key create create access key\n";
cout << " key rm remove access key\n";
- cout << " bucket list list buckets\n";
+ cout << " bucket list list buckets (specify --allow-unordered for\n";
+ cout << " faster, unsorted listing)\n";
cout << " bucket limit check show bucket sharding stats\n";
cout << " bucket link link bucket to specified user\n";
cout << " bucket unlink unlink bucket from specified user\n";
bool have_max_objects = false;
bool have_max_size = false;
int include_all = false;
+ int allow_unordered = false;
int sync_stats = false;
int reset_stats = false;
// do nothing
} else if (ceph_argparse_binary_flag(args, i, &include_all, NULL, "--include-all", (char*)NULL)) {
// do nothing
+ } else if (ceph_argparse_binary_flag(args, i, &allow_unordered, NULL, "--allow-unordered", (char*)NULL)) {
+ // do nothing
} else if (ceph_argparse_binary_flag(args, i, &extra_info, NULL, "--extra-info", (char*)NULL)) {
// do nothing
} else if (ceph_argparse_binary_flag(args, i, &bypass_gc, NULL, "--bypass-gc", (char*)NULL)) {
list_op.params.ns = ns;
list_op.params.enforce_ns = false;
list_op.params.list_versions = true;
+ list_op.params.allow_unordered = bool(allow_unordered);
do {
ret = list_op.list_objects(max_entries - count, &result, &common_prefixes, &truncated);
subuser rm remove subuser
key create create access key
key rm remove access key
- bucket list list buckets
+ bucket list list buckets (specify --allow-unordered for
+ faster, unsorted listing)
bucket limit check show bucket sharding stats
bucket link link bucket to specified user
bucket unlink unlink bucket from specified user