]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore/bluefs_type: avoid interator all extents when call func get_allocated.
authorJianpeng Ma <jianpeng.ma@intel.com>
Mon, 27 Mar 2017 14:47:23 +0000 (22:47 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Tue, 28 Mar 2017 12:24:50 +0000 (20:24 +0800)
commit6d40622fa1046c6f5dc3cd99a8981d66c09d555a
treed8f3f4646ea8c75d658f15849520061ef9830e26
parent4c8ec8a2c332b66534b18494731f3b582e73ed4b
os/bluestore/bluefs_type: avoid interator all extents when call func get_allocated.

Only update extents it interator all extents to get allocated,
especially for recycling-log-file.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/bluefs_types.cc
src/os/bluestore/bluefs_types.h