[PATCH blktests v4 12/17] nvme/{006,008,010,012,014,019,023}: support NVMET_BLKDEV_TYPES

Daniel Wagner dwagner at suse.de
Mon May 6 07:53:45 PDT 2024


On Sat, May 04, 2024 at 05:14:43PM GMT, Shin'ichiro Kawasaki wrote:
> Enable repeated test runs for the listed test cases for
> NVMET_BLKDEV_TYPES. The default values of NVMET_BLKDEV_TYPES is
> "device file". With this default set up, each of the listed test cases
> are run twice. The second runs of the test cases for 'file' blkdev type
> do exact same test as other test cases nvme/007, 009, 011, 013, 015, 020
> and 024.
> 
> The test cases already support the repetition for NVMET_TRTYPES. Modify
> the set_conditions() hooks to call both NVMET_BLKDEV_TYPES and
> NVMET_TRTYPES using _set_combined_conditions(). When NVMET_BLKDEV_TYPES
> and NVMET_TRTYPES are set as follows, the test cases are repeated
> 2 x 3 = 6 times each.
> 
>       NVMET_BLKDEV_TYPES="device file"
>       NVMET_TRTYPES="loop rdma tcp"
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>

Reviewed-by: Daniel Wagner <dwagner at suse.de>



More information about the Linux-nvme mailing list