]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: Fix dirty_range in BlueStore::_do_remove
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 15 Apr 2025 08:37:25 +0000 (08:37 +0000)
committerIgor Fedotov <igor.fedotov@croit.io>
Tue, 2 Sep 2025 13:28:03 +0000 (16:28 +0300)
commitd6c61326a125f8bd278ec1c656d673e53edf47cd
tree250ef48efe0b9cb55fd4f68854dfa59f7345643b
parent0f5e240e49a3a16b611fc80cf6ca06cfd8b1b303
os/bluestore: Fix dirty_range in BlueStore::_do_remove

dirty_range used to have length = 1 byte.
This is good if whole extent is inside shard.
But this has proven not to be the case.
dirty_range(offset, length) is slower only when it crosses shard.

Partially fixes: https://tracker.ceph.com/issues/70390

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 4f566eaf6c4646e513ea6747c7df17383d8716e2)
src/os/bluestore/BlueStore.cc