diff options
author | NeilBrown <neilb@suse.de> | 2006-06-26 00:27:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:37 -0700 |
commit | 7c7546ccf6463edbeee8d9aac6de7be1cd80d08a (patch) | |
tree | 56c1f734db9f8a66a7c8c5ef11fb35e07dbb2f91 /include/linux/raid | |
parent | 5fd6c1dce06ec24ef3de20fe0c7ecf2ba9fe5ef9 (diff) |
[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>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/linear.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/linear.h b/include/linux/raid/linear.h index 7eaf290e10e7..ba15469daf11 100644 --- a/include/linux/raid/linear.h +++ b/include/linux/raid/linear.h @@ -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]; }; |