Re: [PATCH blktests v4 10/17] nvme/rc: introduce NVMET_BLKDEV_TYPES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 04, 2024 at 05:14:41PM GMT, Shin'ichiro Kawasaki wrote:
> Some of the test cases in nvme test group do the exact same test for two
> blkdev types: device type and file type. Except for this difference, the
> test cases are pure duplication. It is desired to avoid the duplication.
> When the duplication is avoided, it is required to control which
> condition to run the test.
>     
> To avoid the duplication and also to allow the blkdev type control,
> introduce a new configuration parameter NVMET_BLKDEV_TYPES. This
> parameter specifies which blkdev type to setup for the tests. It can
> take one of the blkdev types. Or it can take both types, which is the
> default. When both types are specified, the test cases are repeated
> twice to cover the types.
>     
> Also add the helper function _set_nvmet_blkdev_type(). It sets up
> nvmet_blkdev_type variable for each test case run from
> NVMET_BLKDEV_TYPES.
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>

Reviewed-by: Daniel Wagner <dwagner@xxxxxxx>




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux