]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/onode-staged-tree: delete copy constructor of DummyNodeExtent
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 18 Jun 2021 08:21:06 +0000 (16:21 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 21 Jun 2021 02:05:28 +0000 (10:05 +0800)
Dummy backend is used for unit tests without transactions, so there
should be no copy-on-write behavior.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node_extent_manager/dummy.h

index 1cdb117c0a089a2d62871c8ab39ea50d3d6eb607..1f385cf12d4aeb960acd4286726a0cd50a7b50d1 100644 (file)
@@ -40,6 +40,7 @@ class DummyNodeExtent final: public NodeExtent {
   DummyNodeExtent(ceph::bufferptr &&ptr) : NodeExtent(std::move(ptr)) {
     state = extent_state_t::INITIAL_WRITE_PENDING;
   }
+  DummyNodeExtent(const DummyNodeExtent& other) = delete;
   ~DummyNodeExtent() override = default;
 
   void retire() {