NeilBrown [off-list ref] writes:
If a device has ever seen a write error, we will want to handle
known-bad-blocks differently.
So create an appropriate state flag and export it via sysfs.
Signed-off-by: NeilBrown <redacted>
Reviewed-by: Namhyung Kim <redacted>
but it looks like documentation update is needed too
(probably can be squashed to next patch 09/36).