# Re: \[PATCH\] Increase buffer for sysfs disk state

- From: Jes Sorensen \<hidden\>
- Date: 2016-11-17 14:46:56 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2016/11/6633493
- Thread: https://ratatoskr.run/linux-raid/2016/11/6633493/t.md

```text
Tomasz Majchrzak [ref] writes:
> Bad block support has incremented sysfs disk state reported by kernel
> ("external_bbl") so it became longer than 20 bytes. It causes reshape to
> fail as it reads truncated entry from sysfs.
>
> Increase buffer so it can accommodate the string including all state
> values currently implemented in kernel at the same time.
>
> Signed-off-by: Tomasz Majchrzak <redacted>
> ---
>  Grow.c        | 6 ++++--
>  monitor.c     | 4 ++--
>  super-intel.c | 5 +++--
>  3 files changed, 9 insertions(+), 6 deletions(-)

Applied!

Thanks,
Jes
```
