diff options
author | NeilBrown <neilb@suse.de> | 2011-12-23 10:17:53 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-12-23 10:17:53 +1100 |
commit | 977df36255ab0ea78b048cbc9055300c586dcc91 (patch) | |
tree | 6d89e08ebe7702ccbb5e160b99ea2440ab08fcda /drivers/md/dm-snap-persistent.c | |
parent | 657e3e4d88461a5ab660dd87f8f773f55e748da4 (diff) |
md/raid5: 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 replacement - 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.
When writing for recovery, we shouldn't write to the original. This
will be addressed in a subsequent patch that generally addresses
recovery.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
0 files changed, 0 insertions, 0 deletions