Linux block layer
 help / color / mirror / Atom feed
From: John Meneghini <jmeneghi@redhat.com>
To: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
	Jesse Taube <jtaubepe@redhat.com>
Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org,
	Daniel Wagner <dwagner@suse.de>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH blktests 2/2] nvme/070: Test multipath and marginal ports
Date: Fri, 14 Aug 2026 11:10:08 -0400	[thread overview]
Message-ID: <3ca229d2-aaa3-46e0-8714-21cd67810153@redhat.com> (raw)
In-Reply-To: <an78AkXI1SUHXBwg@shinmob>

On 8/14/26 07:47, Shin'ichiro Kawasaki wrote:
> On Aug 12, 2026 / 13:45, Jesse Taube wrote:
>> Add tests/nvme/070 to test various multipath and marginal port
>> scenarios, while confirming the port useage and state. This test is
>> intended to emulate receiving an FPIN event in a multipath environment.
> 
> The test contents are comprehensive, which looks good to me. 
>>
>> Suggested-by: John Meneghini <jmeneghi@redhat.com>

Please remove the above line.

>> Signed-off-by: Jesse Taube <jtaubepe@redhat.com>

Co-authored-by: John Menehgini <jmeneghi@redhat.com>
Signed-off-by: John Meneghini <jmeneghi@redhat.com>

I've tested these patches and they work.

Tested-by: John Meneghini <jmeneghi@redhat.com>

Note: These patches require the kernel changes introduced by the "FPIN Link integrity handling" patches[1],
and they should not be merged until the kernel patches are merged.

[1] https://lore.kernel.org/linux-scsi/20260814063616.GA9231@lst.de/T/#m1e8c728cf2dcdfd70d1b50a2fc2f278ea0832c36


>> diff --git a/tests/nvme/070 b/tests/nvme/070
>> new file mode 100755
>> index 0000000..a8002f8
>> --- /dev/null
>> +++ b/tests/nvme/070
>> @@ -0,0 +1,521 @@
>> +#!/bin/bash
>> +# SPDX-License-Identifier: GPL-3.0+
>> +# Copyright (C) 2024 John Meneghini <jmeneghi@redhat.com>
> 
> This patch's author is Jesse, which looks inconstent with the copyright above.
> Also, please reconfirm the copyright year 2024. Should it be "2026" or

Yes, this is because the original version of this script was authored by me.

Jesse took my first version and greatly improved it.  She got it working.
> 
> When I ran this test case on the kernel without the patch series
> "nvme-fc: FPIN link integrity handling", this test case just failed.
> I think it should be skipped if the kernel does not have set_marginal_rport
> sysfs attribute. I suggest to add the check below:

Good suggestion.

>         if [[ ! -w /sys/class/fcloop/ctl/set_marginal_rport ]]; then
>                 SKIP_REASONS+=("fcloop does not support set_marginal_rport")
>                 return 1
>         fi
> 

/John



  reply	other threads:[~2026-08-14 15:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-12 17:45 [PATCH blktests 0/2] Test multipath and marginal ports Jesse Taube
2026-08-12 17:45 ` [PATCH blktests 1/2] nvme: Add _setup_nvmet_port_marginal Jesse Taube
2026-08-12 19:03   ` John Meneghini
2026-08-14 11:28   ` Shin'ichiro Kawasaki
2026-08-12 17:45 ` [PATCH blktests 2/2] nvme/070: Test multipath and marginal ports Jesse Taube
2026-08-12 19:03   ` John Meneghini
2026-08-14 11:47   ` Shin'ichiro Kawasaki
2026-08-14 15:10     ` John Meneghini [this message]
2026-08-14 11:24 ` [PATCH blktests 0/2] " Shin'ichiro Kawasaki
2026-08-14 14:18   ` Jesse Taube

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=3ca229d2-aaa3-46e0-8714-21cd67810153@redhat.com \
    --to=jmeneghi@redhat.com \
    --cc=dwagner@suse.de \
    --cc=jtaubepe@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=linux-scsi@vger.kernel.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