diff options
author | Pavel Shilovsky <[email protected]> | 2021-02-02 22:34:32 -0600 |
---|---|---|
committer | Steve French <[email protected]> | 2021-02-05 08:12:00 -0600 |
commit | 91792bb8089b63b7b780251eb83939348ac58a64 (patch) | |
tree | 158edc77d2e0efa02cff9f6631b54730200f928c /tools/perf/scripts/python/syscall-counts.py | |
parent | 8d8d1dbefc423d42d626cf5b81aac214870ebaab (diff) |
smb3: fix crediting for compounding when only one request in flight
Currently we try to guess if a compound request is going to
succeed waiting for credits or not based on the number of
requests in flight. This approach doesn't work correctly
all the time because there may be only one request in
flight which is going to bring multiple credits satisfying
the compound request.
Change the behavior to fail a request only if there are no requests
in flight at all and proceed waiting for credits otherwise.
Cc: <[email protected]> # 5.1+
Signed-off-by: Pavel Shilovsky <[email protected]>
Reviewed-by: Tom Talpey <[email protected]>
Reviewed-by: Shyam Prasad N <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions