numam-spdk/lib/env_dpdk
Dariusz Stojaczyk b86c6b1704 env_dpdk: delete all unnecessary files created by dpdk 18.05
DPDK 18.05 introduces a new "runtime" directory,
which contains hugepage metadata to be accessed
by secondary processes. There may be multiple
files per each memseg and we cannot easily predict
their count, so this patch deletes all regular
files in that directory.

$ ls -l /var/run/dpdk/spdk_pidX
total 16784
-rw------- 1 root root     4096 Jul 27 15:10 fbarray_memseg-1048576k-1-0
-rw------- 1 root root   188416 Jul 27 15:10 fbarray_memzone
-rw-r--r-- 1 root root 16974144 Jul 27 15:10 hugepage_data
-rw-r--r-- 1 root root    12432 Jul 27 15:10 hugepage_info
srwxr-xr-x 1 root root        0 Jul 27 15:10 mp_socket

The DPDK config file is not located in this directory
yet to preserve some of the backward compability.
Eventually, it will moved there as well.

Change-Id: I61cf1a47b306b51b0817c9d870841508f1e5e604
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/420659
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-07-27 16:48:47 +00:00
..
env_internal.h env_dpdk: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
env.c env: introduce spdk_memzone_reserve_aligned 2018-07-02 19:13:23 +00:00
env.mk env.mk: link libnuma if RTE_EAL_NUMA_AWARE_HUGEPAGES is set 2018-06-15 18:42:02 +00:00
init.c env_dpdk: delete all unnecessary files created by dpdk 18.05 2018-07-27 16:48:47 +00:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env_dpdk: fix mem_map translation for sizes >2MB 2018-07-06 22:36:22 +00:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_virtio.c bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
pci.c env: remove deprecated spdk_pci_get_device() 2018-05-10 19:40:22 +00:00
threads.c env_dpdk: add an assert check for last core 2018-02-22 10:43:59 -05:00
vtophys.c env: add size parameter to spdk_mem_map_translate 2018-06-05 18:36:00 +00:00