]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: remove the working_disks and failed_disks from raid5 state data.
authorNeilBrown <neilb@suse.de>
Tue, 3 Oct 2006 08:15:47 +0000 (01:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:17 +0000 (08:04 -0700)
commit284b2c0e282c69f5aa194a87c3e99901d899fbd4
tree3c3b3adf01e4ec4139888d681eca5becb3374fda
parent06049ef43eb44fe253e0188a1f5ecbef4dcc192d
[PATCH] md: remove the working_disks and failed_disks from raid5 state data.

They are not needed.  conf->failed_disks is the same as mddev->degraded and
conf->working_disks is conf->raid_disks - mddev->degraded.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid5.c
include/linux/raid/raid5.h