commit | 475b0321a4df381f64db10ddd750a8b7bb82d88b | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:55 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:55 2011 +1100 |
tree | c8433c702892962091e617c83ada4560a208e4de | |
parent | c8ab903ea9d7309044910c33dc087418be84f9b5 [diff] |
md/raid10: writes should get directed to replacement as well as original. When writing, we need to submit two writes, one to the original, and one to the replacements - if there is a replacement. If the write to the replacement results in a write error we just fail the device. We only try to record write errors to the original. This only handles writing new data. Writing for resync/recovery will come later. Signed-off-by: NeilBrown <neilb@suse.de>