From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
Sagi Grimberg <sagi@grimberg.me>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
Yang Xu <xuyang2018.jy@fujitsu.com>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: [PATCH blktests] nvme/{016,017}: use _check_genctr instead of _filter_discovery
Date: Wed, 7 Jun 2023 03:35:28 +0000 [thread overview]
Message-ID: <bfcfb409-e124-0a74-4c22-bdfd44f10f10@nvidia.com> (raw)
In-Reply-To: <zcko3ff67h3tilz6smfqhy6cxwihzzl74kdap52aoo3pm6an6v@4fxn2ymekely>
On 6/6/2023 7:14 PM, Shinichiro Kawasaki wrote:
> On Jun 06, 2023 / 09:45, Sagi Grimberg wrote:
>>
>>>>> On May 31, 2023 / 09:07, Yang Xu wrote:
>>>>>> Since commit 328943e3 ("Update tests for discovery log page changes"),
>>>>>> blktests also include the discovery subsystem itself. But it
>>>>>> will lead these cases fails on older nvme-cli system.
>>>>>
>>>>> Thanks for this report. What is the nvme-cli version with the issue?
>>>>>
>>>>>>
>>>>>> To avoid this, like nvme/002, use _check_genctr to check instead of
>>>>>> comparing many discovery Log Entry output.
>>>>>>
>>>>>> Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
>>>>>
>>>>> The change looks fine to me, but I'd wait for comments by nvme
>>>>> developers.
>>>>
>>>> I'm ok with this change, but IIRC Chaitanya wanted that we keep checking
>>>> the full log-page output...
>>>
>>> the original testcase was designed to validate the log page internals
>>> and that correctness cannot be established without looking into the log
>>> page.
>
> I think nvme/016 and 017 still have value even without the log-page output
> checks. They exercise namespace creations and deletions which other test
> cases don't.
>
>>>
>>> but given that how much churn this is generating eveytime something
>>> changes in nvme-cli or in kernel implementation I'm really wondering is
>>> that worth everyone's time ?
>>>
>>> Sagi/Shinichiro any thoughts ?
>>
>> Also back then I thought it'd create churn because the log page output
>> is not an interface.
>
> So, we should drop the log page output check, and it means that Yang's patch is
> the choice.
>
> Chaitanya, is it ok for you?
I think it is reasonable to drop this check, also it will be great if
can we can drop any other such checks in the nvme test category to save
everyone's time.
-ck
next prev parent reply other threads:[~2023-06-07 3:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1685495221-4598-1-git-send-email-xuyang2018.jy@fujitsu.com>
2023-05-31 5:36 ` [PATCH blktests] nvme/{016,017}: use _check_genctr instead of _filter_discovery Shinichiro Kawasaki
2023-05-31 5:40 ` Yang Xu (Fujitsu)
2023-05-31 7:50 ` Shinichiro Kawasaki
2023-06-05 23:18 ` Sagi Grimberg
2023-06-06 3:20 ` Chaitanya Kulkarni
2023-06-06 5:14 ` Shinichiro Kawasaki
2023-06-06 5:22 ` Yang Xu (Fujitsu)
2023-06-06 6:45 ` Sagi Grimberg
2023-06-07 2:14 ` Shinichiro Kawasaki
2023-06-07 3:35 ` Chaitanya Kulkarni [this message]
2023-06-07 8:04 ` Shinichiro Kawasaki
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=bfcfb409-e124-0a74-4c22-bdfd44f10f10@nvidia.com \
--to=chaitanyak@nvidia.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
--cc=shinichiro.kawasaki@wdc.com \
--cc=xuyang2018.jy@fujitsu.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox