Re: Locking md device and system for several seconds

From: Neil Brown
Date: Sun Nov 13 2005 - 05:41:40 EST


On Sunday November 13, info@xxxxxxxxxxxxx wrote:
> Hi!
>
> I'm using kernel 2.6.14.2 with md (RAID1 static) as bootable.
>
> While md synching (initial creation or after marked one as failed,
> removed and re-added) there are some locking problems with the
> complete system/kernel.

Can you check which IO scheduler the drives are using, try different
schedulers, and see if it makes a different.

grep . /sys/block/*/queue/scheduler

will show you (the one in [brackets] is active).
Then just echo a new value out to each file.

I've had one report that [anticipatory] causes this problem and [cfq]
removes it. Could you confirm that?

Thanks,

NeilBrown

-
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/