aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2017-03-24 12:04:19 -0600
committerJens Axboe <[email protected]>2017-03-29 13:21:13 -0600
commit3e8a7069b9ded55d408e3272213a95f07036dfa5 (patch)
tree2dc1ab560a43db60c592492cc2825d9666a193a2 /tools/perf/scripts/python/event_analyzing_sample.py
parentb58e176914c4786fd28edfc44e7174310613fc31 (diff)
blk-mq: include errors in did_work calculation
Currently we return true in blk_mq_dispatch_rq_list() if we queued IO successfully, but we really want to return whether or not the we made progress. Progress includes if we got an error return. If we don't, this can lead to a hang in blk_mq_sched_dispatch_requests() when a driver is draining IO by returning BLK_MQ_QUEUE_ERROR instead of manually ending the IO in error and return BLK_MQ_QUEUE_OK. Tested-by: Josef Bacik <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Omar Sandoval <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions