]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use map to tracking writing buffers 10294/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 14 Jul 2016 11:21:32 +0000 (19:21 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 14 Jul 2016 11:21:32 +0000 (19:21 +0800)
commit4b5e2d6c4097f8e08f3ef47a6f0e4212a0eaf795
tree17adc6d551f2b505f737bcd429e15bc252dccf20
parent3325ab02b7f55eb0a00569387b960899f01490a0
os/bluestore: use map to tracking writing buffers

By keeping the writing buffers ordered, the finish_write()
process does not need to traverse the whole writing list
each time it is called any more, which is good for performance.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h