The refactored blob reuse code needs to mark blobs used when
processing wctx->writes.
Signed-off-by: Sage Weil <sage@redhat.com>
wi.length0,
wi.b,
nullptr);
+ wi.b->dirty_blob().mark_used(le->blob_offset, le->length);
txc->statfs_delta.stored() += le->length;
dout(20) << __func__ << " lex " << *le << dendl;
_buffer_cache_write(txc, wi.b, b_off, wi.bl,
wctx->buffered ? 0 : Buffer::FLAG_NOCACHE);
-
+
// queue io
if (!g_conf->bluestore_debug_omit_block_device_write) {
if (l->length() <= prefer_deferred_size) {