Re: 3.10.1: echo repair > sync_action causes hang on RAID-1 (2 xSSD)

From: NeilBrown
Date: Thu Jul 25 2013 - 20:36:12 EST


On Thu, 25 Jul 2013 19:10:50 -0400 "Justin Piszcz" <jpiszcz@xxxxxxxxxxxxxxx>
wrote:

>
>
> -----Original Message-----
> From: NeilBrown [mailto:neilb@xxxxxxx]
> Sent: Sunday, July 21, 2013 7:03 PM
> To: Justin Piszcz
> Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-raid@xxxxxxxxxxxxxxx
> Subject: Re: 3.10.1: echo repair > sync_action causes hang on RAID-1 (2 x
> SSD)
>
> > Hi Justin,
> > this is a known bug. Fix has been accepted into mainline for 3.11-rc2.
> > Hopefully it will get into 3.10.3 (too late for 3.10.2).
>
> > NeilBrown
>
>
> Hi Neil,
>
> Did the fix by chance make it into 3.10.3?

No, it looks like it missed again. I gather there was a large inflow of
patches for -stable in the 3.11-rc1 merge window and Greg has been processing
them in batches. Hopefully in 3.10.4.

The relevant patch is commit 30bc9b53878a9921b02e3 in mainline.

NeilBrown



>
> The same issue occurs with 3.10.3 for me as well:
>
> Every 1.0s: cat /proc/mdstat Thu Jul 25 19:09:46
> 2013
>
> Personalities : [raid1]
> md1 : active raid1 sdc2[0] sdb2[1]
> 233381376 blocks [2/2] [UU]
> [>....................] resync = 0.0% (151488/233381376)
> finish=32045.3m
> in speed=121K/sec
>
> md0 : active raid1 sdc1[0] sdb1[1]
> 1048512 blocks [2/2] [UU]
>
> unused devices: <none>
>
>
>
> Justin.

Attachment: signature.asc
Description: PGP signature