Repository navigation
Conversation
There was a problem hiding this comment.
It looks like we also need to consider INITIAL_WRITE_PENDING state here. Am I missing something?
There was a problem hiding this comment.
See the removed can_merge() logic that paddr.is_relative() will return true and cause merging.
IIUC INITIAL_WRITE_PENDING implies paddr.is_relative().
INITIAL_WRITE_PENDING isn't stable and will also cause merging in the new logic.
So I don't see how the new logic isn't appropriate (yet).
There was a problem hiding this comment.
But the unit tests are failed, so probably the test cases are not accurate, or something else is missing here.
There was a problem hiding this comment.
I still have one question here. In RBM, the extent's address is not relative at INITIAL_WRITE_PENDING state because it directly allocated the blocks from RBM, right?
There was a problem hiding this comment.
@myoungwon Right, this is why I think checking the absoluteness of the address is backend dependent and looks confusing here.
There was a problem hiding this comment.
See the removed can_merge() logic that paddr.is_relative() will return true and cause merging.
IIUC INITIAL_WRITE_PENDING implies paddr.is_relative().
INITIAL_WRITE_PENDING isn't stable and will also cause merging in the new logic.
So I don't see how the new logic isn't appropriate (yet).
There was a problem hiding this comment.
But the unit tests are failed, so probably the test cases are not accurate, or something else is missing here.
There was a problem hiding this comment.
And this also fails the unit test.
Signed-off-by: Yingxin Cheng <[email protected]>
0ddecea to
2a4f45c
Compare
|
rebased and drop the unrelated commits |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
Closing in favor of the referring PR #55888. |
Also see #54036 (comment)
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 retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows