scripts/ceph: load loop module explicitly
Older losetup versions loaded "loop" in background, but
with 2.36.1 this doesn't happen. We know we're going to
use this module so let's load it ourselves.
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7086 (master)
(cherry picked from commit f88416a1de
)
Change-Id: If3364e92817ae9f09e9897872bd61ca9167184a1
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7744
Tested-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
53603323e5
commit
f4c28506d5
@ -15,6 +15,7 @@ mnt_dir=${base_dir}/mnt
|
||||
image=/var/tmp/ceph_raw.img
|
||||
dev=/dev/loop200
|
||||
|
||||
modprobe loop
|
||||
umount ${dev}p2 || true
|
||||
losetup -d $dev || true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user