Spdk/test/lib/nvme
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
..
aer log: set print level when enabling tracelogs 2017-07-11 18:02:47 -04:00
deallocated_value test/nvme: add app to check value of deallocated blocks 2017-10-13 18:09:08 -04:00
e2edp nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
overhead test/overhead: print error and exit if no device found 2017-08-16 16:13:29 -04:00
reset test:move env initialization steps after the parameters parsing 2017-09-21 14:07:17 -04:00
sgl nvme: fix _nvme_ns_cmd_split_sgl_request for last SGE not page aligned 2017-07-31 13:10:52 -04:00
hotplug.sh test/nvme: increase delay between plugging devices 2017-08-11 19:45:26 -04:00
Makefile test/nvme: add app to check value of deallocated blocks 2017-10-13 18:09:08 -04:00
nvme.sh setup.sh: do not unbind NVMe devices with active mountpoints 2017-10-17 12:49:18 -04:00