]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_admin: add --min-rewrite-stripe-size for object rewrite 2259/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 13 Aug 2014 01:30:03 +0000 (18:30 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 14 Aug 2014 20:45:37 +0000 (13:45 -0700)
commita1e79dbb80a78d5bfbabad976d80eec03339b15e
treed6f3a28a0f114a766e5f4c9fad576f095cde9104
parent16a43609eaff93496bc9ca919926faa0f189db22
rgw_admin: add --min-rewrite-stripe-size for object rewrite

A new param to check whether the object has requires restriping,
checking whether a specific object stripe is bigger than the specified
size. By default it is set to 0, and in that case it'll always be
restriped. Having it set to 4M + 1 will make sure that only the objects
that weren't striped before (using default settings) will be restriped.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_rados.h