]> git.baikalelectronics.ru Git - kernel.git/commit
dm: raid fix device status indicator when array initializing
authorJonathan E Brassow <jbrassow@redhat.com>
Mon, 31 Oct 2011 20:21:26 +0000 (20:21 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 31 Oct 2011 20:21:26 +0000 (20:21 +0000)
commitd49219c64f08324b65e3153eae39cebfc532c07f
treed00c9aeea0173051fe3bbd4398697acab9ab61ca
parent3fc157daa8b06bb114ae75436230f00322cc1df3
dm: raid fix device status indicator when array initializing

When devices in a RAID array are not in-sync, they are supposed to be
reported as such in the status output as an 'a' character, which means
"alive, but not in-sync".  But when the entire array is rebuilt 'A' is
being used, which is incorrect.  This patch corrects this to 'a'.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid.c