]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests: ublk: display UBLK_F_INTEGRITY support
authorCaleb Sander Mateos <csander@purestorage.com>
Thu, 8 Jan 2026 09:19:40 +0000 (02:19 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Jan 2026 16:16:38 +0000 (09:16 -0700)
Add support for printing the UBLK_F_INTEGRITY feature flag in the
human-readable kublk features output.

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/kublk.c

index 185ba553686abea11e90919da7518fb07227915e..261095f19c93aa8a08d84d5be2c4202e64f0920e 100644 (file)
@@ -1454,6 +1454,7 @@ static int cmd_dev_get_features(void)
                FEAT_NAME(UBLK_F_QUIESCE),
                FEAT_NAME(UBLK_F_PER_IO_DAEMON),
                FEAT_NAME(UBLK_F_BUF_REG_OFF_DAEMON),
+               FEAT_NAME(UBLK_F_INTEGRITY),
        };
        struct ublk_dev *dev;
        __u64 features = 0;