]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: orphans tool: align with rgw list bucket min readahead
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 13 Feb 2019 12:15:02 +0000 (13:15 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 12 Apr 2019 16:12:31 +0000 (18:12 +0200)
commitc003e5f33b1ddb72e040e7bfbb37cb89b583e507
tree0716bbbbe39d61451d6d3ad907553d51fdbe1743
parentdbbf060a318dab3a2518cd2f336962b827c2e043
rgw: orphans tool: align with rgw list bucket min readahead

At rgw::rados layer we read upto `min readahead` entries anyway and then pass on
only the requested amount to the caller. Since this translates down to a cls
call requesting a 1000 omap keys by default, it makes sense not to waste the
entries, and process them

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 4c033bf0fd0429378ac350eecd78530cc1c11b84)
src/rgw/rgw_orphan.cc
src/rgw/rgw_orphan.h