diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2026-08-24 17:14:01 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-06 19:02:53 -0700 |
| commit | cba342dde142494a2e4a8a875bb027a38cf95dd3 (patch) | |
| tree | f216c9a8218e44f4eb90c2327d700db462e99430 /lib/raid | |
| parent | 415ad9147484a9994ad7963c46aaf56e14dd3b49 (diff) | |
| download | linux-next-cba342dde142494a2e4a8a875bb027a38cf95dd3.tar.gz linux-next-cba342dde142494a2e4a8a875bb027a38cf95dd3.zip | |
raid/kunit: enable RAID6 PQ and XOR benchmarks if KUNIT_ALL_TESTS=m
Enabling the (possibly long-running benchmarks) by default may cause a big
delay in boot time in case of built-in tests. However, they can still
safely be enabled by default if all tests are modular, as they would only
run when requested explicitly by the system administrator.
Link: https://lore.kernel.org/64c6e0191bd8ccef0074ffbb09bd0584680d710b.1787584360.git.geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/raid')
| -rw-r--r-- | lib/raid/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/raid/Kconfig b/lib/raid/Kconfig index 01f007b2522c..563a178aa930 100644 --- a/lib/raid/Kconfig +++ b/lib/raid/Kconfig @@ -32,6 +32,7 @@ config XOR_KUNIT_TEST config XOR_BENCHMARK bool "Benchmark for xor_gen" depends on XOR_KUNIT_TEST + default y if KUNIT_ALL_TESTS=m help Include benchmarks in the KUnit test suite for xor_gen. @@ -63,6 +64,7 @@ config RAID6_PQ_KUNIT_TEST config RAID6_PQ_KUNIT_BENCHMARK bool "Benchmark for RAID6 PQ" depends on RAID6_PQ_KUNIT_TEST + default y if KUNIT_ALL_TESTS=m help Include benchmarks in the KUnit test suite for raid P/Q generation. |
