cifs: ask for more credit on async read/write code paths
authorAurelien Aptel <aaptel@suse.com>
Thu, 4 Mar 2021 17:51:48 +0000 (17:51 +0000)
committerSteve French <stfrench@microsoft.com>
Sat, 6 Mar 2021 17:35:57 +0000 (11:35 -0600)
commite7323b39e1c73cb0947c837b591a0cd731b24030
tree190c112e978944d5960a236883bbaee9626d8121
parentf7f8c96096c14df64bf6324eb59a3049791fd840
cifs: ask for more credit on async read/write code paths

When doing a large read or write workload we only
very gradually increase the number of credits
which can cause problems with parallelizing large i/o
(I/O ramps up more slowly than it should for large
read/write workloads) especially with multichannel
when the number of credits on the secondary channels
starts out low (e.g. less than about 130) or when
recovering after server throttled back the number
of credit.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c