From: Christoph Hellwig Date: Mon, 14 Apr 2014 08:30:08 +0000 (+0200) Subject: blk-mq: make ->flush_rq fully transparent to drivers X-Git-Tag: omap-for-v3.17/soc-cleanup~42^2~7^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8727af4b9d45c7503042e3fbd926c1a173876e9c;p=pandora-kernel.git blk-mq: make ->flush_rq fully transparent to drivers Drivers shouldn't have to care about the block layer setting aside a request to implement the flush state machine. We already override the mq context and tag to make it more transparent, but so far haven't deal with the driver private data in the request. Make sure to override this as well, and while we're at it add a proper helper sitting in blk-mq.c that implements the full impersonation. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed