Spdk/test/lib/bdev/bdev.conf
Daniel Verkamp 2c0bc38754 bdev: add "split" virtual blockdev example
This virtual block device takes an underlying block device and splits it
into several smaller equal-sized block devices.

Change-Id: I6f6e686c1177b2e4885f7e88809ad329caae55bd
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-01-30 13:51:18 -07:00

25 lines
619 B
Plaintext

[Nvme]
# autotest.sh will automatically rmmod ioatdma, so we do
# not need to specify Whitelist
# entries to enable ioat offload for this malloc LUN
[Malloc]
NumberOfLuns 5
LunSizeInMB 32
[Split]
# Split Malloc1 into two auto-sized halves
Split Malloc1 2
# Split Malloc2 into eight 1-megabyte pieces,
# leaving the rest of the device inaccessible
Split Malloc2 8 1
[AIO]
# skip these blockdevs if the /dev/ramX nodes do not exist
# so that the blockdev tests can still run on systems that
# do not have /dev/ramX nodes configured
SkipMissingFiles Yes
# Linux AIO backend
AIO /dev/ram0