[PATCH 1/2] nvmet_fc: add defer_req callback for deferment of cmd buffer return
Christoph Hellwig
hch at infradead.org
Wed Aug 16 00:53:43 PDT 2017
On Thu, Aug 10, 2017 at 11:06:04AM +0200, Christoph Hellwig wrote:
> > @@ -463,9 +472,9 @@ static struct nvmet_fc_fcp_iod *
> > nvmet_fc_alloc_fcp_iod(struct nvmet_fc_tgt_queue *queue)
> > {
> > static struct nvmet_fc_fcp_iod *fod;
>
> This isn't new, but is this really supposed to be a static variable,
> that is all instances of this code sharing it use the same?
>
> After a short code inspection this looks like a nasty bug to me.
James, can you look into this asap?
More information about the Linux-nvme
mailing list