cifs: handle cases where a channel is closed
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 13 Oct 2023 09:25:30 +0000 (09:25 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Nov 2023 16:25:14 +0000 (10:25 -0600)
commit0c51cc6f2cb0108e7d49805f6e089cd85caab279
treeec592e46424ae9d67d938bcd70093e73489e3336
parent1bc081b67a79b6e75fae686e98048cea1038ae31
cifs: handle cases where a channel is closed

So far, SMB multichannel could only scale up, but not
scale down the number of channels. In this series of
patch, we now allow the client to deal with the case
of multichannel disabled on the server when the share
is mounted. With that change, we now need the ability
to scale down the channels.

This change allows the client to deal with cases of
missing channels more gracefully.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifs_debug.c
fs/smb/client/cifsglob.h
fs/smb/client/cifsproto.h
fs/smb/client/connect.c
fs/smb/client/sess.c
fs/smb/client/smb2transport.c