[PATCH 2/2] nvme: Don't use a stack buffer for keep-alive command

Keith Busch keith.busch at intel.com
Thu Feb 8 08:16:57 PST 2018


On Thu, Feb 08, 2018 at 06:02:04PM +0200, Sagi Grimberg wrote:
> > Allocating the full 64-byte NVMe command for each request seems a bit
> > excessive.
> 
> Why?

That's 64B per request that would rarely ever get used. If you've enough
drives with high queue counts, this can add up to quite a lot of memory.



More information about the Linux-nvme mailing list