linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* After 0->10 takeover process hangs at "wait_barrier"
@ 2011-02-02 12:15 Wojcik, Krzysztof
  2011-02-03  7:35 ` NeilBrown
  0 siblings, 1 reply; 4+ messages in thread
From: Wojcik, Krzysztof @ 2011-02-02 12:15 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-raid@vger.kernel.org

Neil,

I would like to return to problem related to raid0->raid10 takeover operation.
I observed following symptoms:
1. After raid0->raid10 takeover we have array with 2 missing disks. When we add disk for rebuild, recovery process starts as expected but it does not finish- it stops at about 90%, md126_resync process hangs in "D" state
2. Similar behavior is when we have mounted raid0 array and we execute takeover to raid10. After this when we try to unmount array- it causes process umount hangs in "D"

In scenarios above processes hang at the same function- wait_barrier in raid10.c.
Process waits in macro "wait_event_lock_irq" until the "!conf->barrier" condition will be true. In scenarios above it never happens.

Issue does not appear if after takeover we stop array and assemble it again- we can rebuild disks without problem. It indicates that raid0->raid10 takeover process does not initialize all array parameters in proper way.

Do you have any suggestions what can I do to get closer to solving this problem?

Regards
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-08  0:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 12:15 After 0->10 takeover process hangs at "wait_barrier" Wojcik, Krzysztof
2011-02-03  7:35 ` NeilBrown
2011-02-03 16:21   ` Wojcik, Krzysztof
2011-02-08  0:42     ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).