Re: fsync hangs after scsi rejected a request

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

 




On 1/30/19 9:13 AM, Florian Stecker wrote:
> Hi Jianchao,
> 
> I just tried it out - it seems to work nicely.

Thanks so much for your confirmation.
May I have the honor of having your Reported-by and Tested-by ?

Thanks
Jianchao
> 
> Best,
> Florian
> 
> 
> On January 30, 2019 2:13:14 AM GMT+01:00, "jianchao.wang" <jianchao.w.wang@xxxxxxxxxx> wrote:
>> Hi Florian
>>
>> On 1/28/19 10:42 AM, jianchao.wang wrote:
>>> diff --git a/block/blk-flush.c b/block/blk-flush.c
>>> index a3fc7191..6e0f2d9 100644
>>> --- a/block/blk-flush.c
>>> +++ b/block/blk-flush.c
>>> @@ -335,7 +335,7 @@ static void mq_flush_data_end_io(struct request
>> *rq, blk_status_t error)
>>>         blk_flush_complete_seq(rq, fq, REQ_FSEQ_DATA, error);
>>>         spin_unlock_irqrestore(&fq->mq_flush_lock, flags);
>>>  
>>> -       blk_mq_run_hw_queue(hctx, true);
>>> +       blk_mq_sched_restart(hctx);
>>>  }
>>
>> Does this patch work ?
>>
>> Thanks
>> Jianchao
> 



[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