diff options
author | Steve French <stfrench@microsoft.com> | 2019-06-17 14:49:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-25 11:34:55 +0800 |
commit | df2d313511bdb39ac6b11bc61ea65feba8acac05 (patch) | |
tree | 545e1f05117c0bd23c6826bf18f00fd370dec8b4 /arch/x86/entry | |
parent | caf37f6d6a29827acae2ae415645e96dff5c25f1 (diff) | |
download | linux-stable-df2d313511bdb39ac6b11bc61ea65feba8acac05.tar.gz linux-stable-df2d313511bdb39ac6b11bc61ea65feba8acac05.tar.bz2 linux-stable-df2d313511bdb39ac6b11bc61ea65feba8acac05.zip |
SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
commit 8d526d62db907e786fd88948c75d1833d82bd80e upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/entry')
0 files changed, 0 insertions, 0 deletions