From: NeilBrown Date: Thu, 22 Dec 2011 23:17:53 +0000 (+1100) Subject: md/raid5: writes should get directed to replacement as well as original. X-Git-Tag: v3.3-rc1~164^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=977df36255ab0ea78b048cbc9055300c586dcc91;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed