scripts/setup.sh: clean up SPDK hugepages on reset

Change-Id: I272e6ccdb275fdf9663db05b9b6ff9b68c78a646
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-03-28 10:11:35 -07:00
parent 9603193f86
commit 641676ad0a

View File

@ -135,6 +135,9 @@ function reset_linux {
rm $TMP
echo "1" > "/sys/bus/pci/rescan"
hugetlbfs_mount=$(linux_hugetlbfs_mount)
rm "$hugetlbfs_mount"/spdk*map_*
}
function status_linux {