Commit 7fedfb48 authored by Seth Howell's avatar Seth Howell Committed by Jim Harris
Browse files

scripts/ceph: confirm that loop device is removed.



This patch confirms that the rados loop device is removed from the
system, avioding latent errors on the next build.

Change-Id: Ic8d833aeb4808ba9b0bb462a93b65377e4f7616d
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/372327


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 85206ad0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,8 +5,11 @@ set -x
base_dir=`pwd`
home_folder=${base_dir}/ceph
image=${base_dir}/../../../output/ceph_raw.img
dev_backend=/dev/ceph

pkill -9 ceph
sleep 3
umount /dev/loop200p2
losetup -d $dev_backend
rm -rf $home_folder
rm $image