[REPOST][PATCH v3] nvmet: implement valid sqhd values in completions
Christoph Hellwig
hch at infradead.org
Wed Sep 20 07:57:01 PDT 2017
On Wed, Sep 20, 2017 at 02:14:02PM +0300, Sagi Grimberg wrote:
> > - if (likely(req->sq)) /* may happen during early failure */
> > - req->rsp->sq_id = cpu_to_le16(req->sq->qid);
>
> It wasn't documented why it is safe to remove the condition statement.
I'll add something to the commit log based on the discussion on the
list on the previous iteration.
More information about the Linux-nvme
mailing list