aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorWebb Scales <[email protected]>2015-04-23 09:34:22 -0500
committerJames Bottomley <[email protected]>2015-05-31 11:38:15 -0700
commitb69324ff93127b1a2042612ff2aa95b42af873a0 (patch)
tree1f320dbf2696c6814d539b8a8f5125c114cfc2cd /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parenta58e7e53b410c8ed05f0b1b0f37411c76b8e253f (diff)
hpsa: refactor and rework support for sending TEST_UNIT_READY
Factor out the code which sends the TEST_UNIT_READY from wait_for_device_to_become_ready() into its own function. Move the code which waits for the TEST_UNIT_READY from wait_for_device_to_become_ready() into its own function. If a logical drive has failed, resetting it will ensure outstanding commands are completed, but polling it with TURs after the reset will not work because the TURs will never report good status. So successful TUR should not be a condition of success for the device reset error handler. Reviewed-by: Scott Teel <[email protected]> Reviewed-by: Kevin Barnett <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Webb Scales <[email protected]> Signed-off-by: Don Brace <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions