Spdk/scripts
Dariusz Stojaczyk 252d418c40 setup.sh: do not use lsblk -o SUBSYSTEMS
It's apparently unavailable on some systems.
We used it to grep all Virtio-PCI block devices
before matching them against our desired PCI bdf
in get_virtio_names_from_bdf(). If we were unbinding
a Virtio-PCI device and lsblk failed, the script
assumed there were no block devices and hence no
active mountpoints for that Virtio device. The initial
grep is not necessary and, since it's causing us
troubles, is now being removed.

Change-Id: I5a621391dc4772b2bd67eaa832e318d9a0d25948
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/401780
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-03-01 13:48:54 -05:00
..
ceph ceph/start.sh: remove /var/tmp/ceph at start. 2018-02-28 21:59:53 -05:00
perf/nvme pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
rpc nvmf: Add RPC methods to manage allowed hosts 2018-02-26 11:25:03 -05:00
vagrant scripts/vagrant: add vagrant-libvirt provider 2017-12-04 17:36:45 -05:00
build_kmod.sh spdk: add the ioat_kperf test tool to autobuild system 2016-01-22 07:58:13 -07:00
check_format.sh pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
detect_cc.sh build: use conditional CC/CXX assignment for generated mk/cc.mk 2018-02-12 12:10:49 -05:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py pep8: re-enable E302 (2 blank lines between functions) 2018-02-15 11:10:41 -05:00
gen_nvme.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py build: sort dictionary in genconfig.py before printing 2018-02-08 12:05:54 -05:00
pkgdep.sh doc: added graphviz as depenency 2018-02-13 13:16:07 -05:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: Add reset option to prep_benchmarks.sh 2018-01-09 13:40:59 -05:00
rpc.py nvmf: Add RPC methods to manage allowed hosts 2018-02-26 11:25:03 -05:00
setup.sh setup.sh: do not use lsblk -o SUBSYSTEMS 2018-03-01 13:48:54 -05:00