]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: more accurate usages to is_mutable() vs is_data_stable()
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 21 May 2025 03:54:05 +0000 (11:54 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 4 Jun 2025 02:17:52 +0000 (10:17 +0800)
commit6f892feb0c829aac350135e18577f26f3c407e3d
tree07bc1d942b5a549192c4461f5673eb7aa0c471af
parent6217c2c0bb89d0e5d7dfb6981d20d29f9c57ed3e
crimson/os/seastore: more accurate usages to is_mutable() vs is_data_stable()

Generally, prefer is_mutable() than !is_data_stable(), and
is_data_stable() than !is_mutable().

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h
src/crimson/os/seastore/cached_extent.h
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_accessor.h
src/crimson/os/seastore/transaction_manager.h