mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
850b2b420c
commit
02c2de8cc8
2 changed files with 9 additions and 13 deletions
|
@ -214,7 +214,7 @@ struct raid5_private_data {
|
|||
struct disk_info *spare;
|
||||
int chunk_size, level, algorithm;
|
||||
int max_degraded;
|
||||
int raid_disks, working_disks, failed_disks;
|
||||
int raid_disks;
|
||||
int max_nr_stripes;
|
||||
|
||||
/* used during an expand */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue