Re: [PATCH] block/001: don't exit test with pending async scan

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

 



On Mon, Aug 30, 2021 at 10:38:44AM +0800, Ming Lei wrote:
> We have to run scan and delete together, otherwise pending async
> may prevent scsi_debug from being unloaded, and cause failure of
> 'modprobe: FATAL: Module scsi_debug is in use.'
> 
> Fix the issue by always running both scan and delete together.
> 
> Fixes: f3bcd8c ("block/001: wait until device is added")
> Reported-by: Yi Zhang <yi.zhang@xxxxxxxxxx>
> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx>
> ---
>  tests/block/001 | 9 ++-------
>  1 file changed, 2 insertions(+), 7 deletions(-)

Applied, thanks.



[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