From 01168528cf1c823a0a5237da7e2c4db817559b80 Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Tue, 5 Mar 2024 12:29:26 +0100 Subject: [PATCH] os/bluestore: split blob remove writing check Signed-off-by: Pere Diaz Bou --- src/os/bluestore/BlueStore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 3be3b5a90d80c..bfc40888c614c 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -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) { -- 2.39.5