From: Jens Axboe Date: Fri, 9 Nov 2007 11:52:45 +0000 (+0100) Subject: block: fix requeue handling in blk_queue_invalidate_tags() X-Git-Tag: v2.6.24-rc3~174^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85532ed284e63b5c56eaf2418f262822af60be4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed