Re: [PATCH blktests v2 0/6] support built-in scsi_debug

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

 



On Apr 25, 2023 / 20:47, Shin'ichiro Kawasaki wrote:
> From: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>
> 
> In the past, there was an issue related to scsi_debug module unload [1]. At that
> time, it was suggested to modify blktests not to rely on module load and unload.
> Based on that discussion, blktests was modified not to load or unload null_blk
> driver [2][3]. As of today, a number of test cases with null_blk can be run with
> built-in null_blk.
> 
> This series introduces similar support for built-in scsi_debug. This patch adds
> a new helper function _configure_scsi_debug which can set up scsi_debug device
> without module load and unload. Also it enables 5 test cases to run with built-
> in scsi_debug.

FYI, I've applied this series with some more improvements in the 4th patch.

> Of note is that still srp test group and 9 test cases in other test groups are
> left to require loadable scsi_debug. The srp test group and 8 of the 9 test
> cases can not be run with built-in scsi_debug because the parameters they set
> are read-only on sysfs. The other one test case scsi/007 has other failure
> symptom now, so I leave it untouched at this moment.

I plan to work further on the 9 left test cases.

> 
> [1] https://lore.kernel.org/linux-block/bc0b2c10-10e6-a1d9-4139-ac93ad3512b2@xxxxxxxxxxxx/
> [2] https://lore.kernel.org/linux-block/20220601064837.3473709-1-hch@xxxxxx/
> [3] https://lore.kernel.org/linux-block/20220607124739.1259977-1-hch@xxxxxx/



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux