summaryrefslogtreecommitdiffstats
path: root/src/os
diff options
context:
space:
mode:
authorIgor Fedotov <igor.fedotov@croit.io>2024-02-29 17:07:10 +0100
committerGitHub <noreply@github.com>2024-02-29 17:07:10 +0100
commit2996d1320f95540aac255041daf03bd926600ca4 (patch)
tree32a36076b265661524e8b5fc8f3903c74a826d8b /src/os
parentMerge pull request #55534 from clwluvw/cephadm-device-class (diff)
parenttest/store_test: fix DeferredWrite test when prefer_deferred_size=0 (diff)
downloadceph-2996d1320f95540aac255041daf03bd926600ca4.tar.xz
ceph-2996d1320f95540aac255041daf03bd926600ca4.zip
Merge pull request #55594 from ifed01/wip-ifed-fix-64443
test/store_test: fix DeferredWrite test when prefer_deferred_size=0 Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
Diffstat (limited to 'src/os')
-rw-r--r--src/os/bluestore/BlueStore.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc
index afd28dc35ec..724d27d9acd 100644
--- a/src/os/bluestore/BlueStore.cc
+++ b/src/os/bluestore/BlueStore.cc
@@ -16263,7 +16263,9 @@ int BlueStore::_do_alloc_write(
if (!g_conf()->bluestore_debug_omit_block_device_write) {
if (data_size < prefer_deferred_size_snapshot) {
dout(20) << __func__ << " deferring 0x" << std::hex
- << l->length() << std::dec << " write via deferred" << dendl;
+ << l->length() << " write via deferred, pds=0x"
+ << prefer_deferred_size_snapshot
+ << std::dec<< dendl;
bluestore_deferred_op_t *op = _get_deferred_op(txc, l->length());
op->op = bluestore_deferred_op_t::OP_WRITE;
int r = wi.b->get_blob().map(