]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: more accurate usages to is_pending() vs is_stable()
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 21 May 2025 06:21:10 +0000 (14:21 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 4 Jun 2025 02:17:52 +0000 (10:17 +0800)
commit513369cd66c8e2035670ac9f1cf63a970e9a3ff8
tree7f83632ac2e7590b5c8d77aa82423075d023875a
parent6f892feb0c829aac350135e18577f26f3c407e3d
crimson/os/seastore: more accurate usages to is_pending() vs is_stable()

Generally, prefer is_pending() than !is_stable(), and
is_stable() than !is_pending().

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/btree/fixed_kv_btree.h
src/crimson/os/seastore/btree/fixed_kv_node.h
src/crimson/os/seastore/cached_extent.h
src/crimson/os/seastore/lba/btree_lba_manager.cc
src/crimson/os/seastore/linked_tree_node.h
src/crimson/os/seastore/logical_child_node.h
src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.h