]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction: count fresh blocks separately
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 28 Sep 2021 07:10:23 +0000 (15:10 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 28 Sep 2021 08:31:08 +0000 (16:31 +0800)
commit2b1402b3d5b44be8217a87cd640ff5d584f5bb87
tree6cca17011666d09fc0267ec5df21238dfe76620d
parent529f1a81c7fb44fb475150fb7208b6d66345023c
crimson/os/seastore/transaction: count fresh blocks separately

Correct get_num_fresh_blocks() to be accurate under the effect of
delayed allocations.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/extent_placement_manager.h
src/crimson/os/seastore/lba_manager/btree/btree_lba_manager.cc
src/crimson/os/seastore/transaction.h