From: Alan Adamson <alan.adamson@oracle.com>
To: Chaitanya Kulkarni <chaitanyak@nvidia.com>
Cc: Sagi Grimberg <sagi@grimberg.me>, "hch@lst.de" <hch@lst.de>,
Keith Busch <kbusch@kernel.org>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: [PATCH] nvme-core: mark passthru requests RQF_QUIET flag
Date: Thu, 7 Apr 2022 20:35:10 +0000 [thread overview]
Message-ID: <650E6456-BCAC-47DA-B50E-4321E98AC9AC@oracle.com> (raw)
In-Reply-To: <4386789d-6722-add8-5b42-f605e48e894b@nvidia.com>
> On Apr 7, 2022, at 1:10 PM, Chaitanya Kulkarni <chaitanyak@nvidia.com> wrote:
>
> On 4/7/22 04:52, Sagi Grimberg wrote:
>>
>>>> Using RQF_QUIET or blk_rq_is_passrhrough() will mean no nvme
>>>> admin-passthru command will log an error.
>>>> I ran into this using the blktests I’m coding up for verbose errors.
>>>> Is this the behavior we want?
>>>
>>> Well, you submitted the logging so we're curious about your use case.
>>> SCSI skips logging errors for internally submitted commands, but not for
>>> userspace passthrough. So we could move the RQF_QUIET into
>>> __nvme_submit_sync_cmd / nvme_keep_alive_work / nvme_timeout / etc.
>>>
>>
>> Makes sense to me
>
> This was my initial proposal to fix the call sites with internal
> passthru commands [1], so this should work.
>
> -ck
>
> [1]
> http://lists.infradead.org/pipermail/linux-nvme/2022-April/031160.html
>
>
It works (suppresses logging) for driver initiated admin cmds which is good, but it also suppresses logging
when running "nvme admin-passthru” which I don’t think we want.
Alan
next prev parent reply other threads:[~2022-04-07 20:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 16:41 [PATCH] nvme-core: mark passthru requests RQF_QUIET flag Chaitanya Kulkarni
2022-04-06 16:52 ` Keith Busch
2022-04-06 17:01 ` Chaitanya Kulkarni
2022-04-06 17:21 ` Keith Busch
2022-04-06 22:06 ` Alan Adamson
2022-04-06 22:16 ` Chaitanya Kulkarni
2022-04-06 23:29 ` Alan Adamson
2022-04-07 19:40 ` Chaitanya Kulkarni
2022-04-07 8:48 ` Christoph Hellwig
2022-04-07 8:51 ` hch
2022-04-07 11:52 ` Sagi Grimberg
2022-04-07 20:10 ` Chaitanya Kulkarni
2022-04-07 20:35 ` Alan Adamson [this message]
2022-04-07 21:00 ` Chaitanya Kulkarni
2022-04-07 21:13 ` Alan Adamson
2022-04-08 2:13 ` Chaitanya Kulkarni
2022-04-08 16:24 ` Alan Adamson
2022-04-09 0:10 ` Chaitanya Kulkarni
2022-04-11 18:31 ` Alan Adamson
2022-04-11 19:53 ` Chaitanya Kulkarni
2022-04-11 21:39 ` Alan Adamson
2022-04-07 16:15 ` Alan Adamson
2022-04-06 17:03 ` Chaitanya Kulkarni
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=650E6456-BCAC-47DA-B50E-4321E98AC9AC@oracle.com \
--to=alan.adamson@oracle.com \
--cc=chaitanyak@nvidia.com \
--cc=hch@lst.de \
--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.