aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIlya Dryomov <[email protected]>2016-02-17 20:04:08 +0100
committerIlya Dryomov <[email protected]>2016-02-24 20:28:31 +0100
commite7a88e82fe380459b864e05b372638aeacb0f52d (patch)
tree5ac73053add9decef9f5ec7fc6d769e1bb6672d8 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a (diff)
libceph: don't bail early from try_read() when skipping a message
The contract between try_read() and try_write() is that when called each processes as much data as possible. When instructed by osd_client to skip a message, try_read() is violating this contract by returning after receiving and discarding a single message instead of checking for more. try_write() then gets a chance to write out more requests, generating more replies/skips for try_read() to handle, forcing the messenger into a starvation loop. Cc: [email protected] # 3.10+ Reported-by: Varada Kari <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]> Tested-by: Varada Kari <[email protected]> Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions