From: NeilBrown Date: Thu, 28 Jul 2011 01:39:24 +0000 (+1000) Subject: md/raid10: Handle write errors by updating badblock log. X-Git-Tag: v3.1-rc1~131^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd870a16c5946d86126f7203db3c73b71de0a1d8;p=pandora-kernel.git md/raid10: Handle write errors by updating badblock log. When we get a write error (in the data area, not in metadata), update the badblock log rather than failing the whole device. As the write may well be many blocks, we trying writing each block individually and only log the ones which fail. Signed-off-by: NeilBrown --- Reading git-diff-tree failed