[PATCH] md: allow a linear array to have drives added while active

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:
NeilBrown
2006-06-26 00:27:41 -07:00
committed by Linus Torvalds
parent 5fd6c1dce0
commit 7c7546ccf6
3 changed files with 76 additions and 15 deletions

View File

@@ -13,8 +13,10 @@ typedef struct dev_info dev_info_t;
struct linear_private_data
{
struct linear_private_data *prev; /* earlier version */
dev_info_t **hash_table;
sector_t hash_spacing;
sector_t array_size;
int preshift; /* shift before dividing by hash_spacing */
dev_info_t disks[0];
};