]> 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)
committerNathan Cutler <ncutler@suse.com>
Thu, 30 May 2019 13:05:34 +0000 (15:05 +0200)
commit312562ae0aae55032a4510c09940c88799cf4999
tree0f9bd3986573cc60b70e6cbbabf7c0514759b3cc
parent81f5fb63eb8c4eca2f6a49496f96e693d83dfc58
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