Skip to content
Commit 70a0f2c1 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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 3c356bde ("scsi: stop passing a gfp_mask
argument down the command setup path").

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatarSasha Levin <sasha.levin@oracle.com>
Reviewed-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Tested-by: default avatarAlexei Starovoitov <alexei.starovoitov@gmail.com>
parent 1018b8b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment