From: Christoph Hellwig Date: Wed, 28 May 2014 14:08:02 +0000 (-0600) Subject: blk-mq: add helper to insert requests from irq context X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fca6a611c27f1f0d90fbe1cc3c229dbf8c09e48;p=pandora-kernel.git blk-mq: add helper to insert requests from irq context Both the cache flush state machine and the SCSI midlayer want to submit requests from irq context, and the current per-request requeue_work unfortunately causes corruption due to sharing with the csd field for flushes. Replace them with a per-request_queue list of requests to be requeued. Based on an earlier test by Ming Lei. Signed-off-by: Christoph Hellwig Reported-by: Ming Lei Tested-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed