diff options
author | Steve French <stfrench@microsoft.com> | 2019-06-17 21:49:07 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-06-17 23:17:56 +0200 |
commit | 8d526d62db907e786fd88948c75d1833d82bd80e (patch) | |
tree | 9baebf4c0caaf7628b6807a8f402dbaff641d776 /drivers/regulator | |
parent | cifs: add spinlock for the openFileList to cifsInodeInfo (diff) | |
download | linux-8d526d62db907e786fd88948c75d1833d82bd80e.tar.xz linux-8d526d62db907e786fd88948c75d1833d82bd80e.zip |
SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
Some servers such as Windows 10 will return STATUS_INSUFFICIENT_RESOURCES
as the number of simultaneous SMB3 requests grows (even though the client
has sufficient credits). Return EAGAIN on STATUS_INSUFFICIENT_RESOURCES
so that we can retry writes which fail with this status code.
This (for example) fixes large file copies to Windows 10 on fast networks.
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions