summaryrefslogtreecommitdiffstats
path: root/src/spdk/test/bdev/bdev.conf.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/spdk/test/bdev/bdev.conf.in44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/spdk/test/bdev/bdev.conf.in b/src/spdk/test/bdev/bdev.conf.in
new file mode 100644
index 00000000..0439ab5e
--- /dev/null
+++ b/src/spdk/test/bdev/bdev.conf.in
@@ -0,0 +1,44 @@
+[Passthru]
+ # PT <bdev name> <vbdev name>
+ PT Malloc3 TestPT
+
+[Malloc]
+ NumberOfLuns 7
+ LunSizeInMB 32
+
+[Split]
+ # Split Malloc1 into two auto-sized halves
+ Split Malloc1 2
+
+ # Split Malloc2 into eight 4-megabyte pieces,
+ # leaving the rest of the device inaccessible
+ Split Malloc2 8 4
+
+[AIO]
+ AIO /dev/ram0 AIO0
+ AIO /tmp/aiofile AIO1 2048
+
+[QoS]
+ # QoS section defines limitation on performance
+ # metric like IOPS and bandwidth
+ #
+ # Format: Limit_IOPS Bdev_Name IOPS_Limit_Value
+ #
+ # IOPS limit must be 10000 or greater and be multiple
+ # of 10000
+ #
+ # Assign 20000 IOPS for the Malloc0 block device
+ Limit_IOPS Malloc0 20000
+ #
+ # Bandwidth limit must be 10 (MB) or greater and be
+ # multiple of 10
+ # Assign 100 (MB) bandwidth for the Malloc3 block
+ # device
+ Limit_BPS Malloc3 100
+
+[RAID0]
+ Name raid0
+ StripSize 64
+ NumDevices 2
+ RaidLevel 0
+ Devices Malloc4 Malloc5