]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: use osd_target_transaction_size when batch removing objects
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 3 Aug 2016 22:36:15 +0000 (06:36 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 3 Aug 2016 23:08:50 +0000 (07:08 +0800)
commit00aeae84ea279d1fcfc3778fa3aa85f3eb83d05e
tree5196fd956bb186717f172cd7d2cef5b12b45dc69
parent8af1031790b7b90809a4af7dccdfefd9a03d4ed6
osd: use osd_target_transaction_size when batch removing objects

Hard code transaction size to be 300 is not good. Since we already
introduce osd_target_transaction_size for the same purpose, we can
use it directly here.

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