]> git.baikalelectronics.ru Git - kernel.git/commit
block: fix requeue handling in blk_queue_invalidate_tags()
authorJens Axboe <jens.axboe@oracle.com>
Fri, 9 Nov 2007 11:52:45 +0000 (12:52 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 9 Nov 2007 11:52:45 +0000 (12:52 +0100)
commit9b07fccc7faa366420421da2fa320307402c97b8
tree2c938f0ebe419ccc18632367c5c9d3f301fc9c36
parent422fbf8cbbfacd3b155ab93875a73c925ce3a256
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: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c