]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/etc/spdk/vhost.conf.in
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / etc / spdk / vhost.conf.in
index 11abdcf16918d466665df67cbc3b9905ab7e089f..2b18a3dfb6df54e86512c6e069390c5a02717ae8 100644 (file)
@@ -94,6 +94,9 @@
   # Set how often the admin queue is polled for asynchronous events.
   # Units in microseconds.
   AdminPollRate 100000
+  # Set how often I/O queues are polled from completions.
+  # Units in microseconds.
+  IOPollRate 0
 
 # The Split virtual block device slices block devices into multiple smaller bdevs.
 [Split]
   # leaving the rest of the device inaccessible
   #Split Malloc2 8 1
 
+# The RAID virtual block device based on pre-configured block device.
+[RAID1]
+  # Unique name of this RAID device.
+  Name Raid0
+  # RAID level, only raid level 0 is supported.
+  RaidLevel 0
+  # Strip size in KB.
+  StripSize 64
+  # Number of pre-configured bdevs.
+  NumDevices 2
+  # Pre-configured bdevs name with Nvme.
+  #Devices Nvme0n1 Nvme1n1
+  # Pre-configured bdevs name with Malloc.
+  Devices Malloc1 Malloc2
+  # Pre-configured bdevs name with AIO.
+  #Devices AIO0 AIO1
+
 # Vhost scsi controller configuration
 # Users should change the VhostScsi section(s) below to match the desired
 # vhost configuration.
   #  SPDK process.
   #Cpumask 0x1
 
+#[VhostBlk1]
+  # Define name for controller
+  #Name vhost.2
+  # Use device which named Raid0
+  #Dev Raid0
+
 #[VhostNvme0]
   # Define name for controller
   #Name vhost.0