Re: md: bug in file raid5.c, line 540 was: Re: Linux 2.4.22-rc1

From: Mike Fedyk
Date: Fri Aug 22 2003 - 16:32:58 EST


On Fri, Aug 22, 2003 at 05:50:39PM +0200, Lars Marowsky-Bree wrote:
> On 2003-08-22T15:24:46,
> Neil Brown <neilb@xxxxxxxxxxxxxxx> said:
>
> > This bug could happen if you try to fail a device that is not active.
>
> Yes, thats not generally a tested code path in 2.4. On removing the
> BUG() statement, also check that all counters get in/decremented
> correctly, or the next lurking bug will hit you.
>
> I fixed that for multipath in 2.4 too, but I can't get around to clean
> up the patchset *sigh*

Then send the patch to someone who can...

Has anyone attempted to create a testbed for md? If not, can you list all
of the states, and state transitions that are legal. I might be able to
cook something up when I get some time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/