[PATCH] md: possible fix for unplug problem
commitf4370781d83cd2e52eb515e4663155e8091e4d4e
authorNeilBrown <neilb@suse.de>
Mon, 10 Jul 2006 11:44:14 +0000 (10 04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:16 +0000 (10 13:24 -0700)
treebb10a0abec68746204cac32dc4839c1b41df3d41
parent894673ee6122a3ce1958e1fe096901ba5356a96b
[PATCH] md: possible fix for unplug problem

I have reports of a problem with raid5 which turns out to be because the raid5
device gets stuck in a 'plugged' state.  This shouldn't be able to happen as
3msec after it gets plugged it should get unplugged.  However it happens
none-the-less.  This patch fixes the problem and is a reasonable thing to do,
though it might hurt performance slightly in some cases.

Until I can find the real problem, we should probably have this workaround in
place.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid5.c