]> git.baikalelectronics.ru Git - kernel.git/commit
md: raid10: wake up frozen array
authorArthur Jones <ajones@riverbed.com>
Fri, 25 Jul 2008 19:03:38 +0000 (12:03 -0700)
committerNeilBrown <neilb@suse.de>
Fri, 1 Aug 2008 02:55:14 +0000 (12:55 +1000)
commit623940df12e1ec78f560c2506f8acb3cfa31f6d7
treeaa8a28db549719fecc540c9c0faf5bba58827ab2
parent4108ce03d3b0a2e34436d457eee4d5ac2db15a76
md: raid10: wake up frozen array

When rescheduling a bio in raid10, we wake up
the md thread, but if the array is frozen, this
will have no effect.  This causes the array to
remain frozen for eternity.  We add a wake_up
to allow the array to de-freeze.  This code is
nearly identical to the raid1 code, which has
this fix already.

Signed-off-by: Arthur Jones <ajones@riverbed.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c