Skip to content
Commit d85532ed authored by Jens Axboe's avatar Jens Axboe
Browse files

block: fix requeue handling in blk_queue_invalidate_tags()



Credit goes to juergen.kadidlo@exasol.com for diagnosing this issue
and supplying the initial patch.

blk_queue_invalidate_tags() must use the proper requeueing paths instead
of open coding the re-add of the request, otherwise we bug out in rq
accounting. Just switch to using blk_requeue_request(), that takes care
of end-tag handling as well and also adds the blktrace REQUEUE notify
event that is also appropriate here.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 85780070
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment