• Jens Axboe's avatar
    block: fix requeue handling in blk_queue_invalidate_tags() · d85532ed
    Jens Axboe authored
    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>
    d85532ed
ll_rw_blk.c 108 KB