[PATCH 4.15-rc 1/3] nvme-core: Don't set nvme_wq as MEM_RECLAIM

Christoph Hellwig hch at infradead.org
Thu Dec 21 02:17:41 PST 2017


On Thu, Dec 21, 2017 at 12:07:50PM +0200, Sagi Grimberg wrote:
> From: Roy Shterman <roys at lightbitslabs.com>
> 
> nvme_wq is not a MEM_RECLAIM workqueue because it
> can allocate memory in some of the works it is executing.

But we need reset to work while in memory reclaim.

So instead we'll need to make sure whatever memory allocation required
(which ones, btw?) are marked GFP_NOIO.



More information about the Linux-nvme mailing list