]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: Throw error when using ec optimisations with an unsupported plugin 65875/head
authorMatty Williams <Matty.Williams@ibm.com>
Thu, 9 Oct 2025 16:05:56 +0000 (17:05 +0100)
committerMatty Williams <Matty.Williams@ibm.com>
Wed, 25 Mar 2026 14:06:46 +0000 (14:06 +0000)
commit69442435006f343e59c1fdbcb2cfd9d112107e99
tree8b630bd94a0e252a6956a52104132f04ac703062
parentc9045e280ded78e4fbc5e4bba74233bec5701c60
test: Throw error when using ec optimisations with an unsupported plugin

Throw an invalid argument error (instead of asserting) when ceph_test_rados_io_sequence attempts to enable ec optimisations with a plugin that does not support ec optimisations (such as LRC).
Small (unrelated) tweaks to code in the same file.

Fixes: https://tracker.ceph.com/issues/73483
Signed-off-by: Matty Williams <Matty.Williams@ibm.com>
src/test/osd/ceph_test_rados_io_sequence/ceph_test_rados_io_sequence.cc