Re: scsi_debug in fstests and blktests (Was: Re: Fwd: [bug report][bisected] modprob -r scsi-debug take more than 3mins during blktests srp/ tests)

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

 



On 4/23/22 09:50, Christoph Hellwig wrote:
> On Fri, Apr 22, 2022 at 08:06:33AM -0700, Luis Chamberlain wrote:
>> It begs the question if the same wish should apply to fstests.
> 
> xfstests generally works fine except for a handful test that explicitly
> want module removal but _notrun gracefully in that case.  Unlike
> blktests which just explodes.
> 
>> If we want to *not* rely on module removal then the right thing to do I
>> think would be to replace module removal on these debug modules
>> (scsi_debug) with an API as null_blk has which uses configfs to *add* /
>> *remove* devices.
> 
> scsi_debug has runtime writable module parameters that cover just
> about everything.
> 

I've added to the my TODO list making nvme-blktests where we can avoid
the need for module loading and unloading, I'll also add a module
load-unload specific tests to that functionality will get tested.

-ck






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux