+8
−10
Loading
While testing fedora35 under 5.18 kernel it was noticed that the sysfs dir structure changed comparing to older versions of the kernel. To make sure proper devices can be found regardless of the kernel version simplify the process by just looking up the model of the ctrl given nvme block device is connected to. Signed-off-by:Michal Berger <michal.berger@intel.com> Change-Id: I7ff55c8d8c50acd2a117bed2a31ddb9890615e18 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13674 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Kamil Godzwon <kamilx.godzwon@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>