diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 00:20:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:34:05 -0800 |
commit | 4443ae10ca15d07922ceda622f03db8865fa3d13 (patch) | |
tree | f1f0a6a82142effbdde93913d53596aeeacc9dc4 /include | |
parent | 220946c9018de74b952446e3a4dff1bfd4cbf310 (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')
-rw-r--r-- | include/linux/raid/raid10.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/raid10.h b/include/linux/raid/raid10.h index b660cbf628d..dfa528385e3 100644 --- a/include/linux/raid/raid10.h +++ b/include/linux/raid/raid10.h @@ -42,6 +42,7 @@ struct r10_private_data_s { spinlock_t resync_lock; int nr_pending; int nr_waiting; + int nr_queued; int barrier; sector_t next_resync; int fullsync; /* set to 1 if a full sync is needed, @@ -53,6 +54,7 @@ struct r10_private_data_s { mempool_t *r10bio_pool; mempool_t *r10buf_pool; + struct page *tmppage; }; typedef struct r10_private_data_s conf_t; |