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

Add test case null_04 to exercise all the different integrity params. It
creates 4 different ublk devices with different combinations of
integrity arguments and verifies their integrity limits via sysfs and
the metadata_size utility.

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/Makefile
tools/testing/selftests/ublk/test_common.sh
tools/testing/selftests/ublk/test_null_04.sh [new file with mode: 0755]