diff options
| author | Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com> | 2026-04-28 15:05:24 +0200 |
|---|---|---|
| committer | Yu Kuai <yukuai@fygo.io> | 2026-05-31 19:09:17 +0800 |
| commit | abaf4783822851678632e5cea98aa5aead99852f (patch) | |
| tree | a93f46cbe7133c97bdbf5c470eef8c5f369c55d6 /include/linux/timerqueue_types.h | |
| parent | 1d24d4c1ea1d9d3211c1d178e0c8d95be0348975 (diff) | |
md: skip redundant raid_disks update when value is unchanged
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 <abd.masalkhi@gmail.com>
Link: https://patch.msgid.link/20260428130524.448063-1-abd.masalkhi@gmail.com
Signed-off-by: Yu Kuai <yukuai@fygo.io>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
