Skip to content
Commit 141891f4 authored by Steve French's avatar Steve French
Browse files

SMB3: Add mount parameter to allow user to override max credits



Add mount option "max_credits" to allow setting maximum SMB3
credits to any value from 10 to 64000 (default is 32000).
This can be useful to workaround servers with problems allocating
credits, or to throttle the client to use smaller amount of
simultaneous i/o or to workaround server performance issues.

Also adds a cap, so that even if the server granted us more than
65000 credits due to a server bug, we would not use that many.

Signed-off-by: default avatarSteve French <steve.french@primarydata.com>
parent 52ace1ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment