[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230515134808.3936750-1-linan666@huaweicloud.com>
Date: Mon, 15 May 2023 21:48:04 +0800
From: linan666@...weicloud.com
To: song@...nel.org, neilb@...e.de, Rob.Becker@...erbed.com
Cc: linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
linan122@...wei.com, yukuai3@...wei.com, yi.zhang@...wei.com,
houtao1@...wei.com, yangerkun@...wei.com
Subject: [PATCH OLK-5.10 v3 0/4] md: bugfix of writing raid sysfs
From: Li Nan <linan122@...wei.com>
The patch series fix the bug of writing raid sysfs.
Changes in v2:
- in patch 1, move check out of md_bitmap_checkpage().
- in patch 2, use div64_u64() and DIV64_U64_ROUND_UP() instead of directly
'/', and chang old_delay/old_delay to unsigned int.
- in patch 4, use 'goto' to make changes more readable.
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 | 17 ++++-----
drivers/md/md.c | 78 ++++++++++++++++++++++++++----------------
drivers/md/raid10.c | 41 +++++++++++++---------
3 files changed, 82 insertions(+), 54 deletions(-)
--
2.31.1
Powered by blists - more mailing lists