From: Sage Weil Date: Thu, 15 Sep 2016 19:39:54 +0000 (-0400) Subject: os/bluestore: CLONE implicitly creates the target X-Git-Tag: v11.0.1~216^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71a40cfd7761ac8bb8d0c152783eb8d8f87170a0;p=ceph.git os/bluestore: CLONE implicitly creates the target Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index f7fd1624df48..3bdee77f47d8 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -6596,7 +6596,8 @@ void BlueStore::_txc_add_transaction(TransContext *txc, Transaction *t) bool create = false; if (op->op == Transaction::OP_TOUCH || op->op == Transaction::OP_WRITE || - op->op == Transaction::OP_ZERO) { + op->op == Transaction::OP_ZERO || + op->op == Transaction::OP_CLONE) { create = true; }