From: Christoph Hellwig <hch@lst.de>
To: Sagi Grimberg <sagi@grimberg.me>
Cc: Keith Busch <kbusch@kernel.org>, Christoph Hellwig <hch@lst.de>,
linux-nvme@lists.infradead.org, Martin.Belanger@dell.com
Subject: Re: [PATCH 1/2] nvmet: don't check iosqes,iocqes for discovery controllers
Date: Wed, 10 Feb 2021 11:10:37 +0100 [thread overview]
Message-ID: <20210210101037.GA26576@lst.de> (raw)
In-Reply-To: <20210209101235.1539917-1-sagi@grimberg.me>
On Tue, Feb 09, 2021 at 02:12:34AM -0800, Sagi Grimberg wrote:
> + if (!ctrl->subsys->type == NVME_NQN_DISC &&
I think the normal way to write this would be a !=.
> + (nvmet_cc_iosqes(ctrl->cc) != NVME_NVM_IOSQES ||
> + nvmet_cc_iocqes(ctrl->cc) != NVME_NVM_IOCQES)) {
By the spec we'd need to check these are 0, but of course we'd break
the existing Linux host. Maybe throw in a comment?
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
next prev parent reply other threads:[~2021-02-10 10:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 10:12 [PATCH 1/2] nvmet: don't check iosqes, iocqes for discovery controllers Sagi Grimberg
2021-02-09 10:12 ` [PATCH 2/2] nvme: don't set iosqes,iocqes " Sagi Grimberg
2021-02-10 10:11 ` Christoph Hellwig
2021-02-10 22:37 ` Sagi Grimberg
2021-02-11 7:02 ` Christoph Hellwig
2021-02-11 10:43 ` Sagi Grimberg
2021-02-11 18:31 ` Christoph Hellwig
2021-02-11 19:44 ` Sagi Grimberg
2021-02-24 9:08 ` Christoph Hellwig
2021-02-10 10:10 ` Christoph Hellwig [this message]
2021-02-10 22:34 ` [PATCH 1/2] nvmet: don't check " Sagi Grimberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210210101037.GA26576@lst.de \
--to=hch@lst.de \
--cc=Martin.Belanger@dell.com \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.