diff options
author | Pavel Shilovsky <[email protected]> | 2018-12-22 12:40:05 -0800 |
---|---|---|
committer | Steve French <[email protected]> | 2019-01-10 14:32:38 -0600 |
commit | 8544f4aa9dd19a04d1244dae10feecc813ccf175 (patch) | |
tree | 7c33803d72ea7bab9640f9e1b91cfb70172bdffa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 33fa5c8b8a7dbe6353a56eaa654b790348890d42 (diff) |
CIFS: Fix credit computation for compounded requests
In SMB3 protocol every part of the compound chain consumes credits
individually, so we need to call wait_for_free_credits() for each
of the PDUs in the chain. If an operation is interrupted, we must
ensure we return all credits taken from the server structure back.
Without this patch server can sometimes disconnect the session
due to credit mismatches, especially when first operation(s)
are large writes.
Signed-off-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions