Repository navigation
crimson/os/seastore: introduce inplace rewrite for RBM - #54525
Conversation
|
@cyx1231st Please take a look. |
1d36980 to
5d5660f
Compare
|
jenkins test signed |
5d5660f to
ded97ee
Compare
ded97ee to
f3d0921
Compare
9732eec to
16542cd
Compare
43813aa to
b2303bb
Compare
cyx1231st
left a comment
There was a problem hiding this comment.
Seems to me the design is almost in shape.
There are modifications to the common seastore logic, probably worth more looks to make sure it is not breaking any critical invariants. cc @athanatos and @xxhdx1985126
21a26b8 to
349f61f
Compare
9bb1588 to
51f01a7
Compare
cyx1231st
left a comment
There was a problem hiding this comment.
LGTM with some nits!
Please make sure that:
- This PR doesn't break ceph builds.
- It doesn't break seastore with the segmented backend (I suppose running random writes several minutes should be OK).
…unt time Signed-off-by: Myoungwon Oh <[email protected]>
51f01a7 to
33dae15
Compare
|
jenkins test api |
|
Is there any comments I need to address to merge this PR into the main? |
|
@myoungwon I don't have further comments. The only thing left towards merging was mentioned in #54525 (review), which is to double check in shaman build and validate that seastore + segment is still working with rados bench after this PR. |
… before in prepare_record Signed-off-by: Myoungwon Oh <[email protected]>
…_handler Signed-off-by: Myoungwon Oh <[email protected]>
…tent in an inplace manner Signed-off-by: Myoungwon Oh <[email protected]>
…track of modified region It has a limitation to keep track of the modified region using the existing deltas because we can not get the correct region in two cases: 1) a case where replay is done and 2) duplicate_for_write. This commit introduces modified region to solve the problem. Signed-off-by: Myoungwon Oh <[email protected]>
…using OOL Signed-off-by: Myoungwon Oh <[email protected]>
…ontents is called set_contents causes the overflow at times because alloc_extent is allowed to use uint32_t. Specifically, in random_writes case, PADDING_SIZE is 256<<10, whereas set_contents's len is uint16_t. Signed-off-by: Myoungwon Oh <[email protected]>
…after replay is done Signed-off-by: Myoungwon Oh <[email protected]>
…played Signed-off-by: Myoungwon Oh <[email protected]>
33dae15 to
72c9d6d
Compare
How can I verify that seashore + segment works with rados bench? Did you mean running crimson-rados-experimental suite? |
Not necessarily because there might be unrelated issues to fix there. Not sure what's your method to validate seastore + RBM except for the existing UTs. I usually do full-stack tests using vstart locally, for example: |
|
|
@cyx1231st I have a question about the dynamic partition we had discussed before (#51770 (comment)). Could you let me know when the dynamic partition is triggered? |
Currently this feature is absent -- with multiple shards, seastore with segmented/zoned/RB backends are statically partitioned upon mkfs. SeaStore common logic still needs optimizations and stablizations, and the existing static partitioning is sufficient for these goals I suppose. However, to proceed the design of dynamic partitioning, I suppose it will become part of the My rough understanding is that similar to the existing trimming and cleaning design, AsyncCleaner should not do rebalancing too eagerly when situation is good enough and the I/O is busy. And I/O should be blocked when the situation is dire -- e.g. one shard is almost filled, it should be able to wait for rebalancing instead of proceeding the allocations and returning errors. |
|
Ok. Let me clarify this.
|
I'm trying to recall this. I suppose this is related the following separate supports:
And I think we probably need to firstly understand why/how the invarients implemented in #54326 break the unit tests.
I'm not familiar with the tool yet, which test infrastructure will use/call ceph_objectstore_tool?
I would suggest to prioritize this effort above the optimizations. If one optimization turns out to be complicated, it might need to be postponed until it is proved to be really performance benefitial. |
OK.
I found that several tests using this tool. For instance: It looks like the purpose of this tool is to inject ops to check the objectstore works correctly
Ok. |
Follow up #50419
The goal of this PR is to perform inplace overwrite during rewriting dirty data extents.
Signed-off-by: Myoungwon Oh [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 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 windowsjenkins test rook e2e