diff options
author | Shyam Prasad N <[email protected]> | 2021-02-03 22:58:38 -0800 |
---|---|---|
committer | Steve French <[email protected]> | 2021-02-16 15:40:13 -0600 |
commit | 7de0394801da4f759684c4a33cf62f12da6e447d (patch) | |
tree | 4aa360c8cdc8e27fd103c99e19d4d207a7a88df4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0f56db831456cb4bf85a15c7a900b7138d89b6eb (diff) |
cifs: Fix in error types returned for out-of-credit situations.
For failure by timeout waiting for credits, changed the error
returned to the app with EBUSY, instead of ENOTSUPP. This is done
because this situation is possible even in non-buggy cases. i.e.
overloaded server can return 0 credits until done with outstanding
requests. And this feels like a better error to return to the app.
For cases of zero credits found even when there are no requests
in flight, replaced ENOTSUPP with EDEADLK, since we're avoiding
deadlock here by returning error.
Signed-off-by: Shyam Prasad N <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions