]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: batch-list objects to reduce memory consumption 20767/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 7 Mar 2018 08:36:03 +0000 (16:36 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 7 Mar 2018 09:20:36 +0000 (17:20 +0800)
commit020a031b62db7474ddf65791d9ba260e21174337
treecd6ca66c665759bf20234caabd3357e100a7877a
parentcf65a91acf32b4499a62d4766eeafce530e7d19e
osd/OSD: batch-list objects to reduce memory consumption

For PG with a huge amount of objects, it wouldn't be an ideal
way to list all of them at a time. Split them into small batches
which we can handle individually efficiently should instead be
the preferred option.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSD.cc