2df770535a
I am confused with the dev_backend variable, I think that we may not need this variable. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I26fa5e8a829e574bb1b97add753b21ad1b0fc23e Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473910 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: yidong0635 <dongx.yi@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
14 lines
172 B
Bash
Executable File
14 lines
172 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
base_dir=/var/tmp/ceph
|
|
image=${base_dir}/ceph_raw.img
|
|
dev=/dev/loop200
|
|
|
|
pkill -9 ceph
|
|
sleep 3
|
|
umount ${dev}p2
|
|
losetup -d $dev
|
|
rm -rf $base_dir
|