commit | 2e8ac30312973dd20e6807365349ecb1c7e0ea45 | [log] [tgz] |
---|---|---|
author | majianpeng <majianpeng@gmail.com> | Tue Jul 03 15:57:02 2012 +1000 |
committer | NeilBrown <neilb@suse.de> | Tue Jul 03 15:57:02 2012 +1000 |
tree | 23c672053c6ff1cf92119e7a18d2f5b83dbab5f2 | |
parent | 0232605d987d8230b254aa139805bbb56a7ca30c [diff] |
md/raid456: When read error cannot be recovered, record bad block We may not be able to fix a bad block if: - the array is degraded - the over-write fails. In these cases we currently eject the device, but we should record a bad block if possible. Signed-off-by: majianpeng <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>