summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2026-01-31 14:03:03 +0530
committerSteve French <stfrench@microsoft.com>2026-02-08 17:07:43 -0600
commit16d480ed4990ed5aefb99c111dd14131a338e3c9 (patch)
tree668a10c4f085040e1e9e374501325b4acf8cf961 /tools/perf/scripts/python
parentebbbc4bfad4cb355d17c671223d0814ee3ef4eda (diff)
downloadlinux-16d480ed4990ed5aefb99c111dd14131a338e3c9.tar.gz
linux-16d480ed4990ed5aefb99c111dd14131a338e3c9.zip
cifs: on replayable errors back-off before replay, not after
On replayable errors, we call smb2_should_replays that does these things today: 1. decide if we need to replay the command again 2. sleep to back-off the failed request 3. update the next sleep value We will not be able to use this for async requests, when this is processed in callbacks (as this will be called in cifsd threads that should not sleep in response processing). Modify the behaviour by taking the sleep out of smb2_should_replay and performing the sleep for back-off just before actually performing the replay. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions