Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/bluestore: fix bluestore_blob_use_tracker_t::equal()
Consider the following case: bluestore_blob_use_tracker_t<1>(num_au = 1): tracked_use_range[0, 1000] bluestore_blob_use_tracker_t<2>(num_au = 0): tracked_use_range[1, 1001] the original coding logical will treat <1> to be equal to <2>, which is actually not. For now, the only consumer of the method is BlueStore::fsck(), so we can simply fix the above case by narrowing the condition. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
- Loading branch information