# Re: \[md PATCH 13/36\] md/raid1: Handle write errors by updating badblock log.

- From: Namhyung Kim \<hidden\>
- Date: 2011-07-27 15:28:57 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2011/07/6616878
- Thread: https://ratatoskr.run/linux-raid/2011/07/6616878/t.md

```text
NeilBrown [ref] writes:

> 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 <redacted>

Reviewed-by: Namhyung Kim <redacted>
```
