Revision 70a0f2c1898c6abf53670e55642b6e840b003892 authored by Christoph Hellwig on 05 January 2015, 19:29:38 UTC, committed by Christoph Hellwig on 09 January 2015, 14:43:01 UTC
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 <hch@lst.de> Reported-by: Sasha Levin <sasha.levin@oracle.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Tested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
1 parent 1018b8b