"Enable Discard" for Ceph/Cinder Disks?

Hi, according to http://docs.ceph.com/docs/luminous/rbd/qemu-rbd/ the use of Discard/TRIM for Ceph RBD disks is possible. Openstack seems to have implemented it (https://www.sebastien-han.fr/blog/2015/02/02/openstack-and-ceph-rbd-discard/). In oVirt there is no option "Enable Discard" for Cinder Disks (when choosing IDE or VirtIO-SCSI driver), even when i set "report_discard_supported = true" in Cinder. Are there plans for supporting this in the future? Can i use it right now with custom properties (never tried this before)? thx matthias

This is a multi-part message in MIME format. --------------CFDB3EC3BC55D2D520D8D573 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit
according tohttp://docs.ceph.com/docs/luminous/rbd/qemu-rbd/ the use of Discard/TRIM for Ceph RBD disks is possible. Openstack seems to have implemented it (https://www.sebastien-han.fr/blog/2015/02/02/openstack-and-ceph-rbd-discard/). In oVirt there is no option "Enable Discard" for Cinder Disks (when choosing IDE or VirtIO-SCSI driver), even when i set "report_discard_supported = true" in Cinder. Are there plans for supporting this in the future? Can i use it right now with custom properties (never tried this before)? Hello Matthias. ovirt-engine do not have this option. Earlier I created issue https://bugzilla.redhat.com/show_bug.cgi?id=1440230 But you can use unmap with vdsm-hook-diskunmap <https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/diskunmap>.
--------------CFDB3EC3BC55D2D520D8D573 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <blockquote type="cite"> <pre>according to <a href="http://docs.ceph.com/docs/luminous/rbd/qemu-rbd/">http://docs.ceph.com/docs/luminous/rbd/qemu-rbd/</a> the use of Discard/TRIM for Ceph RBD disks is possible. Openstack seems to have implemented it (<a href="https://www.sebastien-han.fr/blog/2015/02/02/openstack-and-ceph-rbd-discard/">https://www.sebastien-han.fr/blog/2015/02/02/openstack-and-ceph-rbd-discard/</a>). In oVirt there is no option "Enable Discard" for Cinder Disks (when choosing IDE or VirtIO-SCSI driver), even when i set "report_discard_supported = true" in Cinder. Are there plans for supporting this in the future? Can i use it right now with custom properties (never tried this before)? </pre> </blockquote> Hello Matthias.<br> ovirt-engine do not have this option. Earlier I created issue <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1440230">https://bugzilla.redhat.com/show_bug.cgi?id=1440230</a><br> But you can use unmap with <a moz-do-not-send="true" href="https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/diskunmap">vdsm-hook-diskunmap</a>. </body> </html> --------------CFDB3EC3BC55D2D520D8D573--
participants (2)
-
Konstantin Shalygin
-
Matthias Leopold