kola: add support for simulating 512e disks and add support for primaryDisk
key
#3822
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
kola/qemu: add support for simulating 512e disks
It's come up a few times now that we need to dig into 512e-specific
behaviours (most recently in OCPBUGS-35410). Let's add a knob for this
in the qemu platform just like the one we have for 4Kn.
kola: add support for
primaryDisk
keyJust like we have
additionalDisks
, add a newprimaryDisk
key whichtakes the same "diskspec" format. This immediately unlocks all the same
knobs available to additional disks to the primary disk itself from
external tests.
E.g. with this, we can now migrate multipath tests to external tests
that use
primaryDisk: 20G:mpath
.My immediate motivation for this however is to be able to use the
new
512e
disk option from an external test as part of fixingOCPBUGS-35410.