Repository navigation
crimson/os/seastore/cache: TRIM_DIRTY/CLEANER_* transactions won't invalidate other transactions anymore - #67589
Conversation
|
jenkins test make check arm64 |
|
LGTM once you're satisfied with the testing. @Matan-B probably worth taking a look? |
|
#67225 is now merged which failed runs of this PR. |
|
#67225 merged now, should we retest? |
Yeah, just pushed the rebased code to ceph-ci:-) |
|
jenkins test make check arm64 |
|
The teuthology tests seem fine now, the two failure was caused by other issues: |
|
The code I tested contains two fixup commits, I'll squash them and test it again, after which I'll repush this PR. |
9137123 to
2febad8
Compare
|
The failures:
All the failures are known issues, I think this PR is good to go. @athanatos @Matan-B Please take a another round of review at this PR, thanks:-) The last four commits are the fixes: |
|
jenkins test docs |
|
jenkins restest this please |
TransactionManager to retrieve lba mappings' paddrs. Signed-off-by: Xuehan Xu <[email protected]>
lba/backref values Since lba mapping values might change during the executions of client transactions once we allow background transactions to be submitted without invalidating client ones, we want to avoid other components using lba/backref mappings from keep local copies to prevent petential problem Signed-off-by: Xuehan Xu <[email protected]>
backref_manager.h Signed-off-by: Xuehan Xu <[email protected]>
mappings Signed-off-by: Xuehan Xu <[email protected]>
generated by backref retrieval transactions and used by reclaim transactions Signed-off-by: Xuehan Xu <[email protected]>
These are the transactions that only rewrite extents and mutation lba nodes, e.g. TRIM_DIRTY and CLEANER transactions Signed-off-by: Xuehan Xu <[email protected]>
between rewriting trasactions and others when committing Signed-off-by: Xuehan Xu <[email protected]>
extents' transaction views when committing or invalidating the transaction Signed-off-by: Xuehan Xu <[email protected]>
CachedExtent::prior_poffset, remove invalid asserts Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Xuehan Xu <[email protected]>
transactions anymore Fixes: https://tracker.ceph.com/issues/73070 Signed-off-by: Xuehan Xu <[email protected]>
rewriting transactions Signed-off-by: Xuehan Xu <[email protected]>
stable too Signed-off-by: Xuehan Xu <[email protected]>
they conflict with rewriting transactions until the rewriting transactions finishes Signed-off-by: Xuehan Xu <[email protected]>
extents Signed-off-by: Xuehan Xu <[email protected]>
synchronous with contents updates Since we need merge content of lba leaf nodes when committing trim/cleaner transactions, and we rely on the child ptrs to determine whether to modify mappings of pending leaf nodes. We must make sure the ptr updates and node content updates are synchronous. See LBALeafNode::merge_content_to() for detail Signed-off-by: Xuehan Xu <[email protected]>
rewritten fixed kv nodes Fixes: https://tracker.ceph.com/issues/74798 Signed-off-by: Xuehan Xu <[email protected]>
LBALeafNodes when committing them. This is to deal with the following scenario: 1. A client transaction modifies the value of the LBALeafNode, but not the pladdr but other field; 2. A TRIM/CLEANER transaction modifies the pladdr for the same laddr_t concurrently In the old approach, the client trans may override the pladdr with the outdated value after the TRIM/CLEANER transaction commits Signed-off-by: Xuehan Xu <[email protected]>
extents when updating paddrs for TRIM_DIRTY/CLEANER transactions Signed-off-by: Xuehan Xu <[email protected]>
2febad8 to
b8a8247
Compare
|
Rebased onto the main branch. |
|
This is a repush of the previous #66488, fixing bugs that caused https://tracker.ceph.com/issues/74798.
The last three commits are the fixes:
ce4e018cc0f6d25825379fb9959fb0cc3c60acef
2a1e290168f7f09483cd88ddd29effd65662a8d2
91371232e7da645a27457b2951caf7e614ab2d79
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 DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.