]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd85532ed284e63b5c56eaf2418f262822af60be4
tree2c938f0ebe419ccc18632367c5c9d3f301fc9c36
parent8578007065bd27ec077a74b5814f0fe4df040180
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