Repository navigation
crimson/os/seastore: LBACursor based LBAManager/TM interfaces and the related ObjectDataHandler refactor - #62513
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
0c22570 to
f9996da
Compare
f9996da to
4b4ec15
Compare
4b4ec15 to
9f299d5
Compare
33b9072 to
ecb6523
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
a975d12 to
3b80a36
Compare
3b80a36 to
50e6f3a
Compare
Signed-off-by: Xuehan Xu <[email protected]>
Thanks, just Rebased:-)
Ok, I'll try to schedule a teuthology run for this:-) |
|
|
jenkins test make check |
|
Just fixed a compiling warning, no need to retest. |
|
jenkins test api |
Signed-off-by: Xuehan Xu <[email protected]>
tree Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
light-weighted and safe This commit removes LBAMapping::child_pos, forces TransactioManager methods to link children directly through child_pos_t, so that LBAMapping::duplicate() can be a shallow one. Signed-off-by: Xuehan Xu <[email protected]>
This should avoid unnecessary lba tree searches in the old implementation of ObjectDataHandler::overwrite() Overwrites of ObjectDataBlocks are dealt with by first punching holes in the lba tree and then inserting new extents in the holes. Specifically, overwrites are classified into two categories: 1. the range of the overwrite falls in a single lba mapping; 2. the range of the overwrite crosses multiple lba mappings. For the first category, ObjectDataHandler processes the overwrites in the following way: 1. if the mapping is a pending one (corresponds to a pending extent), merge the overwrite with the data of the pending extent; 2. otherwise, if the overwrite can, apply it with delta based overwrites; 3. otherwise, punch a hole in the mapping, insert a new extent with the data of the overwrite. For the second category, the overwrite is processed as follows: 1. if the left boundary of the overwrite is inside an existing mapping, deal with the mapping in a way similar to the single-mapping overwrites; 2. remove all lba mappings that are strictly within the range of the overwrite; 3. deal with the right boundary of the overwrite in the same way as the left boundary. Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
Avoiding unnecessary lba tree searches Signed-off-by: Xuehan Xu <[email protected]>
TransactionManager::remap_pin() It doesn't have public use cases any more. Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
state of mappings' child extents Signed-off-by: Xuehan Xu <[email protected]>
non-zero-reserved mappings Signed-off-by: Xuehan Xu <[email protected]>
non-clone ones Signed-off-by: Xuehan Xu <[email protected]>
before reading Signed-off-by: Xuehan Xu <[email protected]>
|
I added three more commits to fix the bugs in this PR:
Now the tests seems good, @athanatos could you please take another round of look at this PR? Thanks:-) |
I tried to reproduce this error, however it hasn't popped up during the last several teuthology runs. I submitted an issue for it: https://tracker.ceph.com/issues/72459 According to its failure "open_collection failed", I think it's not relevant to this PR and this PR should be good to go:-) |
Agreed, test failed is "Crimson-objectstore-tool", It is a new test which might be flaky or was broken. |
|
jenkins test make check arm64 |
This PR is based on #62071
Signed-off-by: Xuehan Xu [email protected]
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 Definition