numam-spdk/scripts
Jim Harris 1a15ce9b46 setup.sh: do not unbind NVMe devices with active mountpoints
Use lsblk to detect if an NVMe namespace or any partition on the
namespace has an active mountpoint.  If it does, do not unbind
the NVMe device associated with that NVMe namespace.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I1ab7540d640baa201efac49bc9515fd861dd8f8c

Reviewed-on: https://review.gerrithub.io/382479
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2017-10-17 12:49:18 -04:00
..
ceph test/ceph: move ceph_raw.img to /var/tmp 2017-08-11 12:35:18 -04:00
perf/nvme scripts/perf/nvme/run_fio_test.py: fix formatting 2017-10-10 12:01:01 -04:00
vagrant vagrant: fix Vagrant provisioning 2017-09-11 18:25:17 -04:00
autotest_common.sh scripts: replace NRHUGE with HUGEMEM in setup.sh 2017-10-12 18:27:21 -04: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 virtio: add initial rev of virtio-scsi initiator bdev module 2017-08-22 11:54:15 -04:00
detect_cc.sh detect_cc.sh: further fix CC_TYPE generation 2017-05-11 16:45:24 -07:00
eofnl eofnl: check for DOS-style newlines 2016-11-29 11:15:18 -07:00
fio.py iscsi: Add an iscsi target application 2016-08-04 13:15:33 -07:00
gen_nvme.sh bdev/nvme: Names are now explicitly assigned by the user 2017-03-15 17:42:45 -07:00
genconfig.py genconfig.py: use print() for Python 3 compat 2017-06-02 19:46:47 -04:00
pkgdep.sh bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh fio: Add a script to prep a system for benchmarks 2017-05-31 04:00:41 -04:00
rpc.py bdev_pmem: pmem pool file managment via RPC 2017-10-13 10:48:39 -04:00
setup.sh setup.sh: do not unbind NVMe devices with active mountpoints 2017-10-17 12:49:18 -04:00