[lkml]   [2011]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectPROBLEM: md/raid5 bug by commit 415e72d03
By bisecting, commit 415e72d03(md/raid5: Allow recovered part of
partially recovered devices to be in-sync) was found as the cause of
follow problem:
* md1_raid5 or md1_raid6 process will hang(99% CPU usage) after
repeatedly remove disk from then re-add disk to raid5 or raid6(there
is also a dd process write to the raid continuously).

Hardware platform is IOP 341 XScale processor(did not test on other
platforms). The problem can be reproduced with this script:

{ while true; do dd if=/dev/zero of=/dev/md1 bs=1M count=90000 >
/dev/null 2>/dev/null;done; } &

while true;do
mdadm /dev/md1 -f /dev/sda /dev/sdb
sleep 1
mdadm /dev/md1 -r /dev/sda /dev/sdb
sleep 1
mdadm /dev/md1 -a /dev/sda /dev/sdb
sleep 6

Qin Dehua
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-07-08 08:01    [W:0.030 / U:2.052 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site