diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2025-07-17 17:36:13 +0530 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-07-27 16:59:58 -0500 |
commit | 9d5eff7821f6d70f7d1b4d8a60680fba4de868a7 (patch) | |
tree | 6f289283c737d4ae6e1f3db54d38ba40d3efdaa3 /scripts/gdb/linux/interrupts.py | |
parent | 59b33fab4ca4d7dacc03367082777627e05d0323 (diff) |
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: <stable@vger.kernel.org>
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions