[PATCH 06/12] nvme: switch abort to blk_execute_rq_nowait

Christoph Hellwig hch at lst.de
Mon Nov 9 21:56:04 PST 2015


On Mon, Nov 09, 2015 at 02:46:58PM -0700, Jens Axboe wrote:
> Looks like a mixup of __GFP_WAIT and 'reserved'. Looks like we need to pass 
> in both 'nowait' and 'reserved' to nvme_alloc_request(), so it can do the 
> right thing.
>
> Though both call sites should tolerate sleeping, since we changed the 
> timeout handler to be in process context.

My earlier series actually had a patch to pass a flags argument to
blk_mq_alloc_request instead of the gfp_mask and the nowait bool,
I'll resurrect it.



More information about the Linux-nvme mailing list