aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2019-01-30 16:58:09 -0800
committerSteve French <stfrench@microsoft.com>2019-03-05 18:10:04 -0600
commit7091bcaba9f34c83e1e6f418b6de5c6d987571da (patch)
tree44efa04e6ea14bb7f6eec84495cbda05f9ee0bc8 /kernel
parentCIFS: Return error code when getting file handle for writeback (diff)
downloadlinux-dev-7091bcaba9f34c83e1e6f418b6de5c6d987571da.tar.xz
linux-dev-7091bcaba9f34c83e1e6f418b6de5c6d987571da.zip
CIFS: Try to acquire credits at once for compound requests
Currently we get one credit per compound part of the request individually. This may lead to being stuck on waiting for credits if multiple compounded operations happen in parallel. Try acquire credits for all compound parts at once. Return immediately if not enough credits and too few requests are in flight currently thus narrowing the possibility of infinite waiting for credits. The more advance fix is to return right away if not enough credits for the compound request and do not look at the number of requests in flight. The caller should handle such situations by falling back to sequential execution of SMB commands instead of compounding. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions