smb3: request more credits on normal (non-large read/write) ops
authorSteve French <stfrench@microsoft.com>
Wed, 6 Mar 2019 03:04:56 +0000 (21:04 -0600)
committerSteve French <stfrench@microsoft.com>
Wed, 6 Mar 2019 03:11:54 +0000 (21:11 -0600)
commit69dc4b181710d0a7c1a2780a56c715703cd1fb06
tree2e3d9566bdb05d711bed492bca71bec1b14a9a54
parentb30c74c73c787d853ecb9fcf5c59511a09a4ec59
smb3: request more credits on normal (non-large read/write) ops

We can end up building up credits too slowly to do large operations
(reads and writes for example) that require many credits. By
comparison most other SMB3 clients request many more (sometimes
thousands) of credits on all operations.  Increase
the number of credits we request on typical (non-large e.g
read/write) operations to 10 from 2 so we can build a pool of credits
faster.

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