Re: Regarding the recent new blk-mq timeout handling

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

 



Hi ming

Thanks for your kindly response.

On 06/12/2018 06:17 PM, Ming Lei wrote:
> On Tue, Jun 12, 2018 at 6:04 PM, jianchao.wang
> <jianchao.w.wang@xxxxxxxxxx> wrote:
>> Hi Jens and Christoph
>>
>> In the recent commit of new blk-mq timeout handling, we don't have any protection
>> on timed out request against the completion path. We just hold a request->ref count,
>> it just could avoid the request tag to be released and life-recycle, but not completion.
>>
>> For the scsi mid-layer, what if a request is in error handler and normal completion come
>> at the moment ?
> 
> Per my understanding, now the protection needs to be done completely by driver.
> 

But looks like the drivers have not prepared well to take over this work right now.

Thanks
Jianchao


> 
> Thanks,
> Ming Lei
> 



[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