aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2011-10-25 23:57:41 -0700
committerNicholas Bellinger <[email protected]>2011-10-27 01:00:06 +0000
commitf147abb475ab47ce620cf3d18de5b3192c9fa7ed (patch)
tree2dddc11716663c387df52f102658c9812c62c54a /tools/perf/util/scripting-engines/trace-event-python.c
parent8cd79f24350826b81e16990d9e12bc878e67d385 (diff)
target: Check -ENOMEM to signal QUEUE_FULL from fabric callbacks
This patch changes target core to also check for -ENOMEM from fabric callbacks to signal QUEUE_FULL status, instead of just -EAGAIN in order to catch a larger set of fabric failure cases that want to trigger QUEUE_FULL logic. This includes the callbacks for ->write_pending(), ->queue_data_in() and ->queue_status(). It also makes transport_generic_write_pending() return zero upon QUEUE_FULL, and removes two unnecessary -EAGAIN checks to catch write pending QUEUE_FULL cases from transport_generic_new_cmd() failures in transport_handle_cdb_direct() and transport_processing_thread():TRANSPORT_NEW_CMD_MAP state. Reported-by: Bart Van Assche <[email protected]> Cc: Bart Van Assche <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Roland Dreier <[email protected]> Signed-off-by: Nicholas A. Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions