mirror of
https://github.com/ceph/ceph
synced 2025-01-20 18:21:57 +00:00
os/bluestore: fix compaction left-side length
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
1164a30235
commit
ea0aee6073
@ -7705,6 +7705,7 @@ int BlueStore::_do_write(
|
||||
head_bl.claim_append(bl);
|
||||
bl.swap(head_bl);
|
||||
offset = gc_start_offset;
|
||||
length = end - offset;
|
||||
} else {
|
||||
o->extent_map.fault_range(db, gc_start_offset, read_len);
|
||||
_do_write_data(txc, c, o, gc_start_offset, read_len, head_bl, &wctx);
|
||||
|
Loading…
Reference in New Issue
Block a user