Repository navigation
osdc: Add minimum allowable split size for replica IOs - #69290
SrinivasaBharath merged 2 commits into
Conversation
563ec1f to
3fd3b18
Compare
Config Diff Tool Output! changed: osd_min_split_replica_read_size: old: (global.yaml.in)
! changed: osd_min_split_replica_read_size: new: [](std::string *value, std::string *error_message) {
uint64_t f = strict_si_cast<uint64_t>(*value, error_message);
if (!error_message->empty()) {
return -EINVAL;
} else if (f < SplitOp::REPLICA_MIN_SPLIT_SIZE && f != 0) {
*error_message = "value must be 4096 or greater"
" or set to zero to disable splitting";
return -EINVAL;
}
return 0;
}
(global.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
7182435 to
f2276bb
Compare
|
jenkins test windows |
f2276bb to
a5c8295
Compare
|
jenkins test windows |
|
This PR has been added to wip-yuri3-testing-20260808.022747-main. |
|
Hey @JonBailey1993 , I found this issue that looks related in the teuthology tests: Testing ref: https://tracker.ceph.com/issues/79167 /a/yuriw-2026-08-08_14:04:25-rados-wip-yuri3-testing-20260808.022747-main-distro-default-trial/446688 |
|
Removed "needs-qa" for now. Reapply it when this is ready for testing again |
When creating new EC pools, we no longer use 4k statically as the default value if nothing is set. Instead, in OSDMonitor::prepare_pool_stripe_width we choose eith 4K or 16K based on whether we support optimisations and have optimisations enabled on the pool. Because of this, when running split_op_cxx tests without osd_pool_erasure_code_stripe_unit set, you would see some failures where the test was trying to send an IO that should be split, but was not split due to the 16K chunk size. This fixes the issue by determining the stripe unit of the pool before deciding on the size of the IO so we can always send two chunks worth of data, and should protect the tests if the default chunk size is increased again in the future as well. Signed-off-by: Jon Bailey <[email protected]> Assisted-by: IBM Bob 2.0.4
Signed-off-by: Jon Bailey <[email protected]>
a5c8295 to
35bc8c8
Compare
|
Thanks @ljflores , it looks like there was a couple of issues that caused the teuthology issues. One in this PR which I fixed, and a test issue which I raised a PR for here: #71285 I'll hold off on adding the needs-qa tag onto this PR until #71285 is ready for the tag, as this one depends on it, so they should probably either be tested together, or this one should be tested after that one has merged. |
|
/config check ok |
|
jenkins test make check arm64 |
|
This PR has been added to wip-bharath12-testing-20260911.231931-main. |
Previously there was no minimum allowable split size for replica IOs. This ran into issues with the prepare_single_op path which was only intended for EC ops. This adds a minimum to prevent issues occurring in this area and prevents replica IOs going down this path. This fixes code introduced in EC Direct Reads (d628f85).
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.