]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/bluefs: use map to track dirty files
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 30 Aug 2016 07:37:46 +0000 (15:37 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 31 Aug 2016 01:24:54 +0000 (09:24 +0800)
commit1e5a5d0ba4b9aceb14e28015897ce0ce802c5688
treef0d8c6f74615a55b99e9bae6000e622fd08a1c6f
parent6209c42324757c132d1affb12bcc69d765565776
os/bluestore/bluefs: use map to track dirty files

So dirty files are arranged by dirty_seq and then
those of same dirty_seq are grouped into list and
as a result we can clean up dirty files much faster
during _flush_and_sync_log().

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