]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: assert the committing delta is not empty
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 15 Jul 2021 02:17:38 +0000 (10:17 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 20 Jul 2021 08:19:44 +0000 (16:19 +0800)
commit21580723aa6a6ed18cc232571311511437f9dfaf
treec2f346798e8d3ae0ebe10ad81fe1e3c1d25cb4ce
parentc21783d4bf90986e58057e833ee82efda61495ba
crimson/os/seastore: assert the committing delta is not empty

It makes no sense to commit an empty delta. It is mostly an issue that
user forget to generate delta during mutation, or there are futile
copy-on-write operations.

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