diff options
| author | Shyam Prasad N <[email protected]> | 2025-07-17 12:06:13 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-07-27 21:59:58 +0000 |
| commit | 9d5eff7821f6d70f7d1b4d8a60680fba4de868a7 (patch) | |
| tree | 6f289283c737d4ae6e1f3db54d38ba40d3efdaa3 /tools/perf/scripts/python/sched-migration.py | |
| parent | smb: client: fix netns refcount leak after net_passive changes (diff) | |
| download | kernel-9d5eff7821f6d70f7d1b4d8a60680fba4de868a7.tar.gz kernel-9d5eff7821f6d70f7d1b4d8a60680fba4de868a7.zip | |
cifs: reset iface weights when we cannot find a candidate
We now do a weighted selection of server interfaces when allocating
new channels. The weights are decided based on the speed advertised.
The fulfilled weight for an interface is a counter that is used to
track the interface selection. It should be reset back to zero once
all interfaces fulfilling their weight.
In cifs_chan_update_iface, this reset logic was missing. As a result
when the server interface list changes, the client may not be able
to find a new candidate for other channels after all interfaces have
been fulfilled.
Fixes: a6d8fb54a515 ("cifs: distribute channels across interfaces based on speed")
Cc: <[email protected]>
Signed-off-by: Shyam Prasad N <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
