]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
BlueStore: speedup the performance of multi-replication flow by 11844/head
authorPan Liu <pan.liu@istuary.com>
Wed, 9 Nov 2016 09:45:27 +0000 (17:45 +0800)
committerPan Liu <pan.liu@istuary.com>
Sat, 12 Nov 2016 15:22:30 +0000 (23:22 +0800)
commit0cb01c4f4bfdcbd7a5531fe4ed7e732dfb4792ee
tree680febe2dca14030b17648c5e6c66c0f2c60ea48
parentb2fe54bfafc1d769d61098819f7de1e3fc904243
BlueStore: speedup the performance of multi-replication flow by
switching the callback order in bluestore.

In Bluestore ack callback and commit callback are queued one by one in
the function "BlueStore;:_txc_finish_kv". Therefore, just only one callback
is needed to call, in order to improve performance. We do this by switching
the callback order in bluestore, and the callback work can be done in
sub_op_modify_commit and doesn't need to do it again in sub_op_modify_applied.

Signed-off-by: Pan Liu <pan.liu@istuary.com>
src/os/bluestore/BlueStore.cc