Message ID | 20230522072535.1523740-1-linan666@huaweicloud.com (mailing list archive) |
---|---|
Headers | show |
Series | md: bugfix of writing raid sysfs | expand |
On Mon, May 22, 2023 at 12:27 AM <linan666@huaweicloud.com> wrote: > > From: Li Nan <linan122@huawei.com> > > The patch series fix the bug of writing raid sysfs. > > Changes in v4: > - in patch 1, check overflow in safe_delay_store() directly. > - in patch 2, check input number instead of using unsigned int. > > Li Nan (3): > md/raid10: fix overflow of md/safe_mode_delay > md/raid10: fix wrong setting of max_corr_read_errors > md/raid10: optimize check_decay_read_errors() Applied 1/3 and 2/3 to md-next. Thanks, Song > > drivers/md/md.c | 9 ++++++--- > drivers/md/raid10.c | 41 ++++++++++++++++++++++++----------------- > 2 files changed, 30 insertions(+), 20 deletions(-) > > -- > 2.31.1 >
From: Li Nan <linan122@huawei.com> The patch series fix the bug of writing raid sysfs. Changes in v4: - in patch 1, check overflow in safe_delay_store() directly. - in patch 2, check input number instead of using unsigned int. Li Nan (3): md/raid10: fix overflow of md/safe_mode_delay md/raid10: fix wrong setting of max_corr_read_errors md/raid10: optimize check_decay_read_errors() drivers/md/md.c | 9 ++++++--- drivers/md/raid10.c | 41 ++++++++++++++++++++++++----------------- 2 files changed, 30 insertions(+), 20 deletions(-)