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
> <[email protected]> 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
> 

Reply via email to