scripts/nvmf: Add Linux to grep nvme list
Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: I1a0d11e14df481f62752da7dcf622e5eb38e26e0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3499 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
efd3f83d72
commit
bf601d5ae4
@ -373,7 +373,7 @@ runtime={run_time}
|
||||
else:
|
||||
ioengine = "libaio"
|
||||
spdk_conf = ""
|
||||
out, err = self.remote_call("sudo nvme list | grep 'SPDK' | awk '{print $1}'")
|
||||
out, err = self.remote_call("sudo nvme list | grep -E 'SPDK|Linux' | awk '{print $1}'")
|
||||
subsystems = [x for x in out.split("\n") if "nvme" in x]
|
||||
|
||||
if self.cpus_allowed is not None:
|
||||
@ -742,7 +742,7 @@ class KernelInitiator(Initiator):
|
||||
time.sleep(1)
|
||||
|
||||
def gen_fio_filename_conf(self, threads, io_depth, num_jobs=1):
|
||||
out, err = self.remote_call("sudo nvme list | grep 'SPDK' | awk '{print $1}'")
|
||||
out, err = self.remote_call("sudo nvme list | grep -E 'SPDK|Linux' | awk '{print $1}'")
|
||||
nvme_list = [x for x in out.split("\n") if "nvme" in x]
|
||||
|
||||
filename_section = ""
|
||||
|
Loading…
Reference in New Issue
Block a user