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: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/372327 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
85206ad06e
commit
7fedfb484f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user