aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-01-06 03:20:28 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:34:05 -0500
commit4443ae10ca15d07922ceda622f03db8865fa3d13 (patch)
treef1f0a6a82142effbdde93913d53596aeeacc9dc4 /include/linux/raid
parent220946c9018de74b952446e3a4dff1bfd4cbf310 (diff)
[PATCH] md: auto-correct correctable read errors in raid10
Largely just a cross-port from raid1. 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/raid10.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/raid10.h b/include/linux/raid/raid10.h
index b660cbf628d8..dfa528385e3f 100644
--- a/include/linux/raid/raid10.h
+++ b/include/linux/raid/raid10.h
@@ -42,6 +42,7 @@ struct r10_private_data_s {
42 spinlock_t resync_lock; 42 spinlock_t resync_lock;
43 int nr_pending; 43 int nr_pending;
44 int nr_waiting; 44 int nr_waiting;
45 int nr_queued;
45 int barrier; 46 int barrier;
46 sector_t next_resync; 47 sector_t next_resync;
47 int fullsync; /* set to 1 if a full sync is needed, 48 int fullsync; /* set to 1 if a full sync is needed,
@@ -53,6 +54,7 @@ struct r10_private_data_s {
53 54
54 mempool_t *r10bio_pool; 55 mempool_t *r10bio_pool;
55 mempool_t *r10buf_pool; 56 mempool_t *r10buf_pool;
57 struct page *tmppage;
56}; 58};
57 59
58typedef struct r10_private_data_s conf_t; 60typedef struct r10_private_data_s conf_t;