From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Daniel Wagner <dwagner@suse.de>,
Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>,
Daniel Wagner <dwagern@suse.de>,
Chaitanya Kulkarni <chaitanyak@nvidia.com>
Subject: Re: [PATCH blktests 05/11] nvme/rc: introduce NVMET_TR_TYPES
Date: Tue, 16 Apr 2024 18:43:18 +0000 [thread overview]
Message-ID: <b159e306-2b08-4880-96c0-2ff7d5c3023e@nvidia.com> (raw)
In-Reply-To: <fact36d4ueuna534ktaafuel4uqkexmlkrwasky6ytvpmi33bq@x26qccgbqbnw>
On 4/16/2024 9:23 AM, Daniel Wagner wrote:
> On Tue, Apr 16, 2024 at 10:28:49AM +0000, Shinichiro Kawasaki wrote:
>>> # nvme_trtypes=rdma ./check nvme/006 ... works
>>> # NVMET_TRTYPES=(rdma) ./check nvme/006 ... does not work
>>>
>>> I will modify the descriptions above in the v2 series to note that both
>>> nvme_trtype and NVMET_TRTYPES are supported and usable.
>>
>> I rethought this. Now I think it is bad that NVMET_TRTYPES can not be specified
>> in command lines. To avoid this drawback, I think it's the better to change
>> NVME_TRTYPES from an array to a variable with multiple items separated with
>> spaces. For example, three types can be specified to NVMET_TRTYPES like this:
>>
>> NVMET_TRTYPES="loop tcp rdma"
>>
>> NVMET_BLKDEV_TYPES has the same restriction then I will change it also from an
>> array to a variable in same manner. I will send out v2 soon with this change.
>>
>> Daniel,
>>
>> I assume this change is fine for your use case. If it is not the case, please
>> let me know.
>
> Yes, it's nice that all the configure variables are of the same type.
>
> On this topic, I am a bit confused about the naming scheme. We have the
> lower case ones, e.g. 'nvme_trtypes' and now the upper case ones
> NVMET_TRYPES. I assume you prefer the upper case to mark them they are
> injected from the environment and the lower case ones are globals
> variables in the framework. Should we retire the lower case ones and
> replace them with upper case ones?
can we please keep the small letter similar to nvme_trtype ?
-ck
next prev parent reply other threads:[~2024-04-16 18:43 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 11:12 [PATCH blktests 00/11] support test case repeat by different conditions Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 01/11] check: factor out _run_test() Shin'ichiro Kawasaki
2024-04-11 13:34 ` Nitesh Shetty
2024-04-12 10:59 ` Shinichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 02/11] check: support test case repeat by different conditions Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 03/11] check: use set_conditions() for the CAN_BE_ZONED test cases Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 04/11] meta/{016,017}: add test cases to check repeated test case runs Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 05/11] nvme/rc: introduce NVMET_TR_TYPES Shin'ichiro Kawasaki
2024-04-11 18:41 ` Daniel Wagner
2024-04-12 10:56 ` Shinichiro Kawasaki
2024-04-16 5:20 ` Shinichiro Kawasaki
2024-04-16 10:28 ` Shinichiro Kawasaki
2024-04-16 16:23 ` Daniel Wagner
2024-04-16 18:43 ` Chaitanya Kulkarni [this message]
2024-04-17 0:58 ` Shinichiro Kawasaki
2024-04-17 6:06 ` Daniel Wagner
2024-04-18 6:12 ` Chaitanya Kulkarni
2024-04-18 6:36 ` Daniel Wagner
2024-04-18 7:18 ` Chaitanya Kulkarni
2024-04-24 8:55 ` Shinichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 06/11] nvme/rc: add blkdev type environment variable Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 07/11] nvme/rc: introduce NVMET_BLKDEV_TYPES Shin'ichiro Kawasaki
2024-04-11 18:44 ` Daniel Wagner
2024-04-12 10:56 ` Shinichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 08/11] nvme/{002-031,033-038,040-045,047,048}: support NMVET_TR_TYPES Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 09/11] nvme/{006,008,010,012,014,019,023}: support NVMET_BLKDEV_TYPES Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 10/11] nvme/{007,009,011,013,015,020,024}: drop duplicate nvmet blkdev type tests Shin'ichiro Kawasaki
2024-04-11 11:12 ` [PATCH blktests 11/11] nvme/{021,022,025,026,027,028}: do not hard code target blkdev type Shin'ichiro 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=b159e306-2b08-4880-96c0-2ff7d5c3023e@nvidia.com \
--to=chaitanyak@nvidia.com \
--cc=dwagern@suse.de \
--cc=dwagner@suse.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=shinichiro.kawasaki@wdc.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