From: Christoph Hellwig Date: Mon, 5 Jan 2015 19:29:38 +0000 (+0100) Subject: scsi: ->queue_rq can't sleep X-Git-Tag: fixes-v4.0-rc1~278^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70a0f2c1898c6abf53670e55642b6e840b003892;p=pandora-kernel.git scsi: ->queue_rq can't sleep The blk-mq ->queue_rq method is always called from process context, but might have preemption disabled. This means we still always have to use GFP_ATOMIC for memory allocations, and thus need to revert part of commit 3c356bde1 ("scsi: stop passing a gfp_mask argument down the command setup path"). Signed-off-by: Christoph Hellwig Reported-by: Sasha Levin Reviewed-by: Bart Van Assche Tested-by: Alexei Starovoitov --- Reading git-diff-tree failed