numam-spdk/scripts
Dariusz Stojaczyk 1469679f09 setup.sh: cleanup any leftover DPDK files
SPDK deletes those files automatically for single-process
applications and the multi-process' ones can now be freed
with `./setup.sh cleanup`.

The script clears so called DPDK runtime directories, which
are defined as follows (for DPDK 18.05+):
 * If DPDK is running as root, /var/run/dpdk/<per-pid-prefix>/
 * If DPDK is not running as root:
   * If $XDG_RUNTIME_DIR is set, ${XDG_RUNTIME_DIR}/dpdk/<per-pid-prefix>/
   * Otherwise, /tmp/dpdk/<per-pid-prefix>/

Since DPDK 18.08, even the shared config file is placed in
the runtime dir, making it the only dir we have to clear.

Change-Id: I13f58a98f6a07e609b888b4e816dd45eac10f49c
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/422485
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2018-08-16 21:09:05 +00:00
..
ceph test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
perf scripts/perf: add vhost perf 2018-07-13 22:33:19 +00:00
rpc scripts/rpc.py: pass named args to log.py and net.py 2018-08-03 07:25:10 +00:00
spdkcli spdkcli: Check for uninitialized spdk instance 2018-08-06 19:26:22 +00:00
vagrant scripts/vagrant: add configuration for vhost tests 2018-08-16 16:48:24 +00:00
check_format.sh scripts: check astyle version 2018-07-23 16:21:38 +00: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 test: set norandommap to be a variable in fio.py 2018-06-28 23:13:12 +00:00
gen_nvme.sh test/vhost: load json configuration to vhost in spdk_vhost_run. 2018-05-30 00:53:12 +00: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 scripts/pkgdep.sh: remove unavailable yum option "--allowerasing" 2018-08-16 03:36:50 +00: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 scripts/rpc.py: pass named args to log.py and net.py 2018-08-03 07:25:10 +00:00
setup.sh setup.sh: cleanup any leftover DPDK files 2018-08-16 21:09:05 +00:00
spdkcli.py spdkcli: add verbose mode 2018-07-20 20:33:41 +00:00