]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fdde2ac05da63b21ea849c735f14da69a05b76d
tree190c112e978944d5960a236883bbaee9626d8121
parent814c44b6de9c910e13f1d1c67ab2ab7985dec8eb
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