aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2010-07-29 10:10:16 +0200
committerJames Bottomley <[email protected]>2010-08-11 00:51:20 -0400
commit3eb3a92851857e6de92ad0c57bf7046ac4f58671 (patch)
tree1788f9d184586746f119c8a7fe9f7dc49811ad5a /tools/perf/util/trace-event-scripting.c
parent7e41dfdaf11a45ab4f4dfc444a7d42bf79dd9356 (diff)
[SCSI] Return NEEDS_RETRY for eh commands with status BUSY
When the transport is busy and we're sending an EH command drivers occasionally return 'BUSY'. As this in most cases is the TUR command sent as part of the error recovery this is a sure way to make the error recovery escalate. Returning 'NEEDS_RETRY' here will just retry the TUR command and eventually abort the original command, thus making error handling far smoother. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions