On Sun, 16 Oct 2011 23:42:46 -0400 Daniel Kahn Gillmor
<d...@fifthhorseman.net> wrote:

> On 10/16/2011 09:55 PM, NeilBrown wrote:
> > On line 1556 for Grow.c you'll find something like:
> > 
> >             /* FIXME this is added with no justification - why is it here */
> >             ping_monitor(container);
> > 
> > Change  that to
> >             if (container)
> >                     ping_monitor(container);
> > 
> > and the problem should go away.
> 
> I can confirm that it does go away if this change is made:

Thanks.
The patch is now in the 'master' branch of the upstream git:
   git://neil.brown.name/mdadm/ master


NeilBrown


> 
> 
> 0 root@bigpuff:/home/raidtest# cat /proc/mdstat
> Personalities : [raid10]
> md0 : active raid10 loop3[3] loop2[2] loop1[1] loop0[0]
>       203776 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
> 
> unused devices: <none>
> 0 root@bigpuff:/home/raidtest# mdadm /dev/md0 --grow --level 0
> mdadm: level of /dev/md0 changed to raid0
> 0 root@bigpuff:/home/raidtest# cat /proc/mdstat
> Personalities : [raid10] [raid0]
> md0 : active raid0 loop3[3] loop1[1]
>       203776 blocks super 1.2 512k chunks
> 
> unused devices: <none>
> 0 root@bigpuff:/home/raidtest#
> 
> Thanks for the quick response,
> 
>       --dkg
> 

Attachment: signature.asc
Description: PGP signature

Reply via email to