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: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/461594 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
ca03bc5cf7
commit
deacebd5d5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user