Commit deacebd5 authored by Tomasz Zawadzki's avatar Tomasz Zawadzki Committed by Ben Walker
Browse files

test/blockdev: remove dependency on brd kernel module



AIO bdev works on any file available from kernel.
blockdev.sh is the only palce that uses the ramdisk
in the current autotest.sh.
After removing the /dev/ram0, aio bdev still gets tested
with regular file.

Note: the QoS functionality done on AIO0 still gets
tested in usual qos.sh tests.

Change-Id: I8d219206d49626582d5848239fb0c36b25ef92a1
Signed-off-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/461594


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent ca03bc5c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -114,10 +114,6 @@ done

sync

if [ $(uname -s) = Linux ]; then
	# Load RAM disk driver if available
	modprobe brd || true
fi
timing_exit cleanup

# set up huge pages
+1 −4
Original line number Diff line number Diff line
@@ -15,8 +15,7 @@
  Split Malloc2 8 4

[AIO]
  AIO /dev/ram0 AIO0
  AIO /tmp/aiofile AIO1 2048
  AIO /tmp/aiofile AIO0 2048

[QoS]
  # QoS section defines limitation on performance
@@ -35,8 +34,6 @@
  # Assign 100 (MB) bandwidth for the Malloc3 block
  # device
  Limit_BPS Malloc3 100
  # Assign 50 (MB) read only bandwidth for the AIO0 block device
  Limit_Read_BPS AIO0 50

[RAID0]
  Name raid0