aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r--drivers/md/raid10.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h
index 59cd1efb8d30..2316ac2e8e21 100644
--- a/drivers/md/raid10.h
+++ b/drivers/md/raid10.h
@@ -33,6 +33,8 @@ struct r10_private_data_s {
33 * 1 stripe. 33 * 1 stripe.
34 */ 34 */
35 35
36 sector_t dev_sectors; /* temp copy of mddev->dev_sectors */
37
36 int chunk_shift; /* shift from chunks to sectors */ 38 int chunk_shift; /* shift from chunks to sectors */
37 sector_t chunk_mask; 39 sector_t chunk_mask;
38 40
@@ -57,6 +59,11 @@ struct r10_private_data_s {
57 mempool_t *r10bio_pool; 59 mempool_t *r10bio_pool;
58 mempool_t *r10buf_pool; 60 mempool_t *r10buf_pool;
59 struct page *tmppage; 61 struct page *tmppage;
62
63 /* When taking over an array from a different personality, we store
64 * the new thread here until we fully activate the array.
65 */
66 struct mdk_thread_s *thread;
60}; 67};
61 68
62typedef struct r10_private_data_s conf_t; 69typedef struct r10_private_data_s conf_t;