Repository navigation
os/bluestore: Fix write v2 compressed write missing dirty_range - #70615
Conversation
e25bfd7 to
c88b21f
Compare
ifed01
left a comment
There was a problem hiding this comment.
Overall LGTM, just there is a couple of minor improvements worth applying.
|
jenkins test make check |
c88b21f to
b747be6
Compare
ifed01
left a comment
There was a problem hiding this comment.
"make check" is failing now
/ceph/src/test/objectstore/test_bluestore_types.cc:2716:23: error: no matching constructor for initialization of 'BlueStore::Writer' |
b747be6 to
776d7f7
Compare
|
jenkins test api |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
776d7f7 to
743b7c1
Compare
|
This PR has been added to wip-jaya-bs-testing-10-27-2026. |
Add debug/unittest function that forces specific resharding. The function is unsuitable for general IO processing. Signed-off-by: Adam Kupczyk <[email protected]>
743b7c1 to
a1a3847
Compare
Reshuffle modified access to ExtentMap::ReshardPlan. The easiest solution was to modify arguments. Signed-off-by: Adam Kupczyk <[email protected]>
Can happen when attempted compressed write v2 has to fallback to uncompressed write v2. The uncompressed write can merges extent on left boundary, ignoring the fact that it might be in other shard. The code did not mark the other shard as dirty. Signed-off-by: Adam Kupczyk <[email protected]>
Can happen when attempted compressed write v2 has to fallback to uncompressed write v2. The uncompressed write can merges extent on left boundary, ignoring the fact that it might be in other shard. The code did not mark the other shard as dirty. Now properly detecting merging extents and changing affected range. Fixes: https://tracker.ceph.com/issues/78776 Signed-off-by: Adam Kupczyk <[email protected]>
Make possible to signel initial affected range on constructor. 1) Set initial affected range on Writer construction. 2) Perform desired operation. 3) Retrieve final affected range. Signed-off-by: Adam Kupczyk <[email protected]>
a1a3847 to
5887121
Compare
The problem can happen when attempted compressed write v2 has to fallback to uncompressed write v2.
The uncompressed write can merge extent on left boundary, ignoring the fact that it might be in other shard.
The code did not mark the other shard as dirty.
Now properly detecting merging extents and changing affected range.
Fixes: https://tracker.ceph.com/issues/78776
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.