]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: increase initial number of credits requested to allow write
authorSteve French <stfrench@microsoft.com>
Wed, 13 Jun 2018 22:05:58 +0000 (17:05 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Jun 2018 07:38:08 +0000 (02:38 -0500)
commit5eba6caca71e67c838fd301627867268f0883ab7
tree23aba1406c21e7dc0d6afa7aa4769236e9829b40
parent145ba30558e70f93f9f038c2ae26c436142fe5b6
smb3: increase initial number of credits requested to allow write

Compared to other clients the Linux smb3 client ramps up
credits very slowly, taking more than 128 operations before a
maximum size write could be sent (since the number of credits
requested is only 2 per small operation, causing the credit
limit to grow very slowly).

This lack of credits initially would impact large i/o performance,
when large i/o is tried early before enough credits are built up.

Signed-off-by: Steve French <stfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2pdu.c