diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2019-03-11 05:18:58 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-03-15 03:32:35 +0300 |
commit | 257b78099be015762b1b19b3e4c58f90a9913fb7 (patch) | |
tree | 7aa43dfe98b2d0d2f2431b611fb73a38e0d52b40 /net | |
parent | 7937ca961c847bda8a75da5d9c34efee9602f6b5 (diff) | |
download | linux-257b78099be015762b1b19b3e4c58f90a9913fb7.tar.xz |
cifs: simplify how we handle credits in compound_send_recv()
Since we can now wait for multiple requests atomically in
wait_for_free_request() we can now greatly simplify the handling
of the credits in this function.
This fixes a potential deadlock where many concurrent compound requests
could each have reserved 1 or 2 credits each but are all blocked
waiting for the final credits they need to be able to issue the requests
to the server.
Set a default timeout of 60 seconds for compounded requests.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions