]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: ublk: add kublk support for integrity params
authorCaleb Sander Mateos <csander@purestorage.com>
Thu, 8 Jan 2026 09:19:42 +0000 (02:19 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Jan 2026 16:16:38 +0000 (09:16 -0700)
commit6ed6476c4aefa9ee3ba90f39bcc002dd034f6e03
tree2e5b94b5c0c7f0bac1a2ede66717201b8c1faf11
parent261b67f4e34716e793b0b95d2722b2fe780ed5f4
selftests: ublk: add kublk support for integrity params

Add integrity param command line arguments to kublk. Plumb these to
struct ublk_params for the null and fault_inject targets, as they don't
need to actually read or write the integrity data. Forbid the integrity
params for loop or stripe until the integrity data copy is implemented.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/ublk/fault_inject.c
tools/testing/selftests/ublk/file_backed.c
tools/testing/selftests/ublk/kublk.c
tools/testing/selftests/ublk/kublk.h
tools/testing/selftests/ublk/null.c
tools/testing/selftests/ublk/stripe.c