mirror_ubuntu-kernels/fs/smb
Shyam Prasad N 6e5e64c947 cifs: do not reset chan_max if multichannel is not supported at mount
If the mount command has specified multichannel as a mount option,
but multichannel is found to be unsupported by the server at the time
of mount, we set chan_max to 1. Which means that the user needs to
remount the share if the server starts supporting multichannel.

This change removes this reset. What it means is that if the user
specified multichannel or max_channels during mount, and at this
time, multichannel is not supported, but the server starts supporting
it at a later point, the client will be capable of scaling out the
number of channels.

Cc: stable@vger.kernel.org
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-11-02 08:06:06 -05:00
..
client cifs: do not reset chan_max if multichannel is not supported at mount 2023-11-02 08:06:06 -05:00
common Add definition for new smb3.1.1 command type 2023-10-30 09:57:03 -05:00
server ksmbd: fix potential double free on smb2_read_pipe() error path 2023-10-12 22:44:11 -05:00
Kconfig
Makefile