Repository navigation
crimson/os/seastore/segment_manager: Check segments prior to mkfs - #64771
Conversation
30c404c to
7f21d59
Compare
taken out of ceph#64771. Still dnm, possibly might help up cleaning up some of repeat_eagain internal methods. Signed-off-by: Matan Breizman <[email protected]>
7f21d59 to
72a21b7
Compare
8bbb096 to
4f22368
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
4f22368 to
e732a80
Compare
e732a80 to
77fec64
Compare
12d9c6a to
e822beb
Compare
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
The virtual FuturizedStore::mount() returns crimson::os::FuturizedStore::mount_ertr which is stateful_ec. Seastore's mount expectes a more complex ertr - access_ertr. In order to not handle each of seastore's errors and support the existing interface - convert the error into a stateful_ec. Signed-off-by: Matan Breizman <[email protected]>
Switch to errorator to not handle each error. Let the caller handle error instead. Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
e822beb to
1485b1e
Compare
0906300 to
e528dcf
Compare
|
/config check ok |
athanatos
left a comment
There was a problem hiding this comment.
LGTM other than nits. I'm fine with merging this as a unit, reviewed the coroutine conversions as well.
|
scheduled test (rerunning with just this PR) |
|
jenkins test api |
|
Failures unrelated: |
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
In read_meta we should not use ERROR when the key is not found as this is expected. Same in _mkfs, if mkfs_done exists we shouldn't use ERROR. This can be confusing when debugging is disabled and few ERROR log lines are printed. Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
See ExtentPlacementManager::init dynamic_max_rewrite_generation = hot_tier_generations - 1; ceph_assert(dynamic_max_rewrite_generation > MIN_REWRITE_GENERATION); Signed-off-by: Matan Breizman <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
Verify Segment count for prior to mkfs * ExtentPlacementManager::init - dynamic_max_rewrite_generation segments * SegmentedJournal segment (1) Fixes: https://tracker.ceph.com/issues/72484 Signed-off-by: Matan Breizman <[email protected]>
e528dcf to
3b96326
Compare
|
jenkins retest this please |
|
jenkins test windows |
Merging based on the above, thanks for running this! |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
Based on #65215 for testing purposes (will rebase once merged)Blocked by: #64812Fixes: https://tracker.ceph.com/issues/72484
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