commit | 4367af556133723d0f443e14ca8170d9447317cb | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Jul 28 11:31:49 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jul 28 11:31:49 2011 +1000 |
tree | d87bb40920f0f43cea586b7dd99b45f713ffd614 | |
parent | 1f68f0c4b677ccd6935ff61e4e6888787505f8dc [diff] |
md/raid1: clear bad-block record when write succeeds. If we succeed in writing to a block that was recorded as being bad, we clear the bad-block record. This requires some delayed handling as the bad-block-list update has to happen in process-context. Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>