[PATCH 1/3] blktests: nvme: skip passthru tests on multipath devices
Martin Wilck
mwilck at suse.com
Thu Aug 22 23:41:59 PDT 2024
On Fri, 2024-08-23 at 08:35 +0200, Daniel Wagner wrote:
> On Thu, Aug 22, 2024 at 09:38:12PM GMT, Martin Wilck wrote:
> > +_require_test_dev_is_nvme_no_mpath() {
> > + if [[ "$(readlink -f "$TEST_DEV_SYSFS/device")" =~ /nvme-
> > subsystem/ ]]; then
> > + SKIP_REASONS+=("$TEST_DEV is a NVMe multipath
> > device")
> > + return 1
> > + fi
> > + return 0
> > +}
>
> Just a nit: what about _require_test_dev_is_native_multipath?
The intention was to require a device that is _not_ a native multipath
device. Change it to "_require_test_dev_is_not_native_multipath"?
Thanks,
Martin
More information about the Linux-nvme
mailing list