public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Qin Dehua <qindehua@gmail.com>
Cc: linux-kernel@vger.kernel.org, Dan Williams <dan.j.williams@intel.com>
Subject: Re: PROBLEM: md/raid5 bug by commit 415e72d03
Date: Thu, 14 Jul 2011 16:52:31 +1000	[thread overview]
Message-ID: <20110714165231.0cda7762@notabene.brown> (raw)
In-Reply-To: <CA+gQ4teG7wKXk+zkZvHYWRCqtoLE=qQOcns9zeth+Dt-xPixTg@mail.gmail.com>

On Fri, 8 Jul 2011 13:58:39 +0800 Qin Dehua <qindehua@gmail.com> wrote:

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

I cannot reproduce this on x86_64.

Can you find out more about the hanging process?  Maybe
  cat /proc/PROCESS-ID/stack

a few times and see where it is spending its time??

NeilBrown

      reply	other threads:[~2011-07-14  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08  5:58 PROBLEM: md/raid5 bug by commit 415e72d03 Qin Dehua
2011-07-14  6:52 ` NeilBrown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110714165231.0cda7762@notabene.brown \
    --to=neilb@suse.de \
    --cc=dan.j.williams@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qindehua@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox