Re: [BUG] md hang at schedule in md_write_start

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

 



On 08/13/2013 06:31 AM, NeilBrown wrote:
> On Mon, 12 Aug 2013 18:33:49 +0200 Jack Wang <jinpu.wang@xxxxxxxxxxxxxxxx>
> wrote:
> 
>> Hi Neil,
>>
>>
>> We've found md hang in our test, it's easy to reproduce with script
>> attached.
>>
>> We've tried 3.4 stable kernel and latest mainline, it still exists.
>>
>> Looks like flush bdi_writeback_workfn race with md_stop, no idea how to
>> fix it, could you kindly give us suggestions?
>>
>> Best regards,
>> Jack
> 
> Thanks for the report.  I can see how that deadlock could happen.
> 
> Can you please try this patch and confirm that it fixes it.
> I'm not really happy with this approach but nothing better occurs to me yet.
> 
> NeilBrown
> 

Hi Neil,

Thanks for quick fix, I tested on 3.4 stable and mainline, it works now.
Could you give more description about the bug and fix.

Regards,
Jack

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux