[PATCH 2/2] nvme: Don't use a stack buffer for keep-alive command
Christoph Hellwig
hch at lst.de
Mon Jan 15 00:42:40 PST 2018
On Sun, Jan 14, 2018 at 11:31:40AM +0200, Sagi Grimberg wrote:
> Thanks Roland,
>
> Reviewed-by: Sagi Grimberg <sagi at grimberg.me>
I think we'll need to fix this properly and embedd the struct nvme_command
into struct nvme_request. In the end any command could get an error
without DNR, and then we'd have a stale SQE on the stack.
More information about the Linux-nvme
mailing list