diff options
author | Ming Lei <[email protected]> | 2020-10-30 10:42:53 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-10-30 08:33:49 -0600 |
commit | 65ff5cd04551daf2c11c7928e48fc3483391c900 (patch) | |
tree | 93d6db0e0473214a2837b0099771ca6bed8725c1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1f41be7d4e90e36084037cecba5978b3d7f849db (diff) |
blk-mq: mark flush request as IDLE in flush_end_io()
Mark flush request as IDLE in its .end_io(), aligning it with how normal
requests behave. The flush request stays in in-flight tags if we're not
using an IO scheduler, so we need to change its state into IDLE.
Otherwise, we will hang in blk_mq_tagset_wait_completed_request() during
error recovery because flush the request state is kept as COMPLETED.
Reported-by: Yi Zhang <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Tested-by: Yi Zhang <[email protected]>
Cc: Chao Leng <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions