]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: virtio discard is supported since kernel 5.0 47716/head
authorMalte Janduda <mail@janduda.net>
Sun, 21 Aug 2022 10:30:08 +0000 (12:30 +0200)
committerMalte Janduda <malte.janduda@sap.com>
Mon, 22 Aug 2022 09:35:38 +0000 (11:35 +0200)
Signed-off-by: Malte Janduda <mail@janduda.net>
doc/rbd/qemu-rbd.rst

index f5925d6c3531b31c68cdb7f009527c19281b6ee5..281335ebe6a0cdf7aeee15957792b97d22d093c6 100644 (file)
@@ -165,8 +165,7 @@ for the block device. To do this, you must specify a
     qemu -m 1024 -drive format=raw,file=rbd:data/squeeze,id=drive1,if=none \
          -device driver=ide-hd,drive=drive1,discard_granularity=512
 
-Note that this uses the IDE driver. The virtio driver does not
-support discard.
+Note that this uses the IDE driver. The virtio driver supports discard since Linux kernel version 5.0.
 
 If using libvirt, edit your libvirt domain's configuration file using ``virsh
 edit`` to include the ``xmlns:qemu`` value. Then, add a ``qemu:commandline``