]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: split blob remove writing check
authorPere Diaz Bou <pere-altea@hotmail.com>
Tue, 5 Mar 2024 11:29:26 +0000 (12:29 +0100)
committerPere Diaz Bou <pere-altea@hotmail.com>
Thu, 25 Apr 2024 13:56:19 +0000 (15:56 +0200)
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
src/os/bluestore/BlueStore.cc

index 3be3b5a90d80c368efb8acfe7a7b13e82feae8d3..bfc40888c614c2cac1fc6ed755d156fac330ea10 100644 (file)
@@ -3778,7 +3778,7 @@ void BlueStore::ExtentMap::reshard(
           // shard boundary.
           bool must_span = false;
           BlobRef b = e->blob;
-          if (onode->bc.writing.empty() && b->can_split()) {
+          if (b->can_split()) {
             uint32_t bstart = e->blob_start();
             uint32_t bend = e->blob_end();
             for (const auto& sh : shards) {