commit | bd870a16c5946d86126f7203db3c73b71de0a1d8 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Jul 28 11:39:24 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jul 28 11:39:24 2011 +1000 |
tree | 3492f61a441266c796b8a08ec30c06f7f6f27fbc | |
parent | 749c55e942d91cb27045fe2eb313aa5afe68ae0b [diff] |
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 <neilb@suse.de>