[v2,0/4] md: bugfix of writing raid sysfs

Message ID 20230506012315.3370489-1-linan666@huaweicloud.com
Headers
Series md: bugfix of writing raid sysfs |

Message

Li Nan May 6, 2023, 1:23 a.m. UTC
  From: Li Nan <linan122@huawei.com>

The patch series fix the bug of writing raid sysfs.

Changes in v2:
 - add patch "md/raid10: optimize check_decay_read_errors()".
 - in patch 2, return ret-value of strict_strtoul_scaled if error occurs.
 - in patch 3, optimize format.

Li Nan (4):
  md/raid10: fix slab-out-of-bounds in md_bitmap_get_counter
  md/raid10: fix overflow in safe_delay_store
  md/raid10: fix wrong setting of max_corr_read_errors
  md/raid10: optimize check_decay_read_errors()

 drivers/md/md-bitmap.c |  2 ++
 drivers/md/md.c        | 72 +++++++++++++++++++++++++++---------------
 drivers/md/raid10.c    | 65 ++++++++++++++++++++------------------
 3 files changed, 84 insertions(+), 55 deletions(-)