Re: [PATCH v5] blk-mq: fix a hung issue when set device state to blocked and restore running

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

 



zhengbin,

> prep_to_mq will return BLK_STS_RESOURCE, and scsi_queue_rq will
> transter it to BLK_STS_DEV_RESOURCE, which means that driver can
> guarantee that IO dispatch will be triggered in future when the
> resource is available.  Need to follow the rule if we set the device
> state to running.

Applied to 5.1/scsi-fixes with a few tweaks. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[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