Re: [PATCH] block/027: setup scsi_debug with MQ

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

 



On 10/21/24 23:41, Ming Lei wrote:
> block/027 focuses on race condition between blkg association and
> request_queue shutdown. Unfortunately it is a bit easy to trigger
> lockup by setting scsi_debug in the following way:
>
> - single queue
> - 21 LUNs
> - small queue depth(110)
> - 10us completion delay
> - fio: 4 jobs, with iodepth 2048
>
> The above setting creates big contention on tag allocation of blk-mq
> code path, especially scsi_debug takes memcpy to simulate IO, which
> doesn't match device in reality.
>
> So setup scsi_debug with MQ and avoid to trigger lockup which doesn't
> exist in real storage device usually.
>
> Signed-off-by: Ming Lei<ming.lei@xxxxxxxxxx>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck






[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