diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2019-01-04 02:53:10 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-01-11 16:14:40 +0300 |
commit | ee258d79159afed52ca9372aeb9c1a51e89b32ee (patch) | |
tree | 991de226bd43c69104941534b559dca680047b2c /fs/Makefile | |
parent | 8a26f0f781f56d3016b34a2217e346973d067e7b (diff) | |
download | linux-ee258d79159afed52ca9372aeb9c1a51e89b32ee.tar.xz |
CIFS: Move credit processing to mid callbacks for SMB3
Currently we account for credits in the thread initiating a request
and waiting for a response. The demultiplex thread receives the response,
wakes up the thread and the latter collects credits from the response
buffer and add them to the server structure on the client. This approach
is not accurate, because it may race with reconnect events in the
demultiplex thread which resets the number of credits.
Fix this by moving credit processing to new mid callbacks that collect
credits granted by the server from the response in the demultiplex thread.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions