aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/constants.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-01-05 20:29:38 +0100
committerChristoph Hellwig <hch@lst.de>2015-01-09 15:43:01 +0100
commit70a0f2c1898c6abf53670e55642b6e840b003892 (patch)
tree3b472f6f398cc774baf556fd592eb7b0acce262e /drivers/scsi/constants.c
parentMAINTAINERS: Update maintainer list for qla4xxx (diff)
downloadlinux-dev-70a0f2c1898c6abf53670e55642b6e840b003892.tar.xz
linux-dev-70a0f2c1898c6abf53670e55642b6e840b003892.zip
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 <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>
Diffstat (limited to 'drivers/scsi/constants.c')
0 files changed, 0 insertions, 0 deletions