diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2023-10-13 12:25:30 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-11-09 19:25:14 +0300 |
commit | 0c51cc6f2cb0108e7d49805f6e089cd85caab279 (patch) | |
tree | ec592e46424ae9d67d938bcd70093e73489e3336 /fs/smb/client/cifsproto.h | |
parent | 1bc081b67a79b6e75fae686e98048cea1038ae31 (diff) | |
download | linux-0c51cc6f2cb0108e7d49805f6e089cd85caab279.tar.xz |
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>
Diffstat (limited to 'fs/smb/client/cifsproto.h')
-rw-r--r-- | fs/smb/client/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/cifsproto.h b/fs/smb/client/cifsproto.h index 890ceddae07e..c1f71c6be7e3 100644 --- a/fs/smb/client/cifsproto.h +++ b/fs/smb/client/cifsproto.h @@ -616,7 +616,7 @@ bool is_server_using_iface(struct TCP_Server_Info *server, bool is_ses_using_iface(struct cifs_ses *ses, struct cifs_server_iface *iface); void cifs_ses_mark_for_reconnect(struct cifs_ses *ses); -unsigned int +int cifs_ses_get_chan_index(struct cifs_ses *ses, struct TCP_Server_Info *server); void |