Re: [PATCH v2] md: skip redundant raid_disks update when value is unchanged
"Yu Kuai" <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.raid |
|---|---|
| Message-ID | <[email protected]> |
在 2026/4/28 21:05, Abd-Alrhman Masalkhi 写道: > Calling update_raid_disks() with the same value as the current one > can trigger unnecessary work. For example, RAID1 will reallocate > resources such as the mempool for r1bio. > > Signed-off-by: Abd-Alrhman Masalkhi<[email protected]> > --- > drivers/md/md.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Applied to md-7.2 -- Thansk, Kuai