diff options
author | 2018-01-09 08:29:49 -0800 | |
---|---|---|
committer | 2018-01-09 09:31:15 -0700 | |
commit | 67818d25738b1c9ffb8541ca875b2ae3304869d5 (patch) | |
tree | 915392d429871ac9fe061a00c7f6da9eeb85726e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-mq: replace timeout synchronization with a RCU and generation based scheme (diff) | |
download | linux-dev-67818d25738b1c9ffb8541ca875b2ae3304869d5.tar.xz linux-dev-67818d25738b1c9ffb8541ca875b2ae3304869d5.zip |
blk-mq: use blk_mq_rq_state() instead of testing REQ_ATOM_COMPLETE
blk_mq_check_inflight() and blk_mq_poll_hybrid_sleep() test
REQ_ATOM_COMPLETE to determine the request state. Both uses are
speculative and we can test REQ_ATOM_STARTED and blk_mq_rq_state() for
equivalent results. Replace the tests. This will allow removing
REQ_ATOM_COMPLETE usages from blk-mq.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions