Repository navigation
crimson/os/seastore: introduce BtreeCursor to simplify the implementation of LBAMapping/BackrefMapping - #62071
Conversation
2752f75 to
c10fd40
Compare
2180d67 to
2afe221
Compare
|
@zhscn can you rename this PR title, it has a same name with PR61261 -- not really useful for others to understand the actual goal other than refactoring. |
|
The "BtreeCursor" is from "BtreeValueIter" in #60814 , avoid confusion with FixedKVBtree::iterator in LBAManager/BackrefManager. |
|
This PR replaces the previous work #60814 Added label |
|
The |
There was a problem hiding this comment.
Why LBACursorRef and BackrefCursorRef are necessary ?
They look to be very small and lightweight structures, is it reasonable to avoid allocate them from heap ?
There was a problem hiding this comment.
The size of LBACursor is 74 bytes and BackrefCursor is 66 bytes, which are not as small as they look.
There was a problem hiding this comment.
I see there are considerable malloc and free overhead from perf.
It's fine to deal with them later, though.
Signed-off-by: Zhang Song <[email protected]>
…g and remap Signed-off-by: Zhang Song <[email protected]>
Signed-off-by: Zhang Song <[email protected]>
Signed-off-by: Zhang Song <[email protected]>
Signed-off-by: Zhang Song <[email protected]>
Signed-off-by: Zhang Song <[email protected]>
…h backref Signed-off-by: Zhang Song <[email protected]>
Signed-off-by: Zhang Song <[email protected]>
Signed-off-by: Zhang Song <[email protected]>
|
Since the issue https://tracker.ceph.com/issues/71383 is also present from the baseline tests, I'm good to leave the fix separately. I can schedule another round of tests after rebased. |
b915bac to
fc8c8e6
Compare
I've just pushed a PR fixing this issue: #63376, please take a look, thanks:-) |
|
jenkins test api |
|
crimson_has_followup: #62071 (comment) |
|
jenkins test make check arm64 |
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