diff options
author | Ming Lei <[email protected]> | 2018-04-11 18:47:44 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-04-11 07:59:15 -0600 |
commit | 2434af79c85d45d41d0c286fedf6e0556888a54c (patch) | |
tree | ce996ca4b97a75ad5cc0d7e3cd37ac0a3101eaed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 37f9579f4c31a6d698dbf3016d7bf132f9288d30 (diff) |
blk-mq: Revert "blk-mq: reimplement blk_mq_hw_queue_mapped"
This reverts commit 127276c6ce5a30fcc806b7fe53015f4f89b62956.
When all CPUs of one hw queue become offline, there still may have IOs
not completed from this hctx. But blk_mq_hw_queue_mapped() is called in
blk_mq_queue_tag_busy_iter(), which is used for iterating request in timeout
handler, timeout event will be missed on the inactive hctx, then request may
never be completed.
Also the replementation of blk_mq_hw_queue_mapped() doesn't match the helper's
name any more, and it should have been named as blk_mq_hw_queue_active().
Even other callers need further verification about this reimplemenation.
So revert this patch now, and we can improve hw queue activate/inactivate event
after adequent researching and test.
Cc: Stefan Haberland <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Reported-by: Jens Axboe <[email protected]>
Fixes: 127276c6ce5a30fcc ("blk-mq: reimplement blk_mq_hw_queue_mapped")
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions