[ovirt-users] OVirt 4.1.2 - trim/discard on HDD/XFS/NFS contraproductive

Markus Stockhausen stockhausen at collogia.de
Sun Jun 18 08:16:31 UTC 2017


Thanks for all your feedback.

Im trying to collect all the infos in BZ1462504.

________________________________________
Von: Fabrice Bacchella [fabrice.bacchella at orange.fr]
Gesendet: Sonntag, 18. Juni 2017 10:13
An: Idan Shaby
Cc: Markus Stockhausen; Ovirt Users
Betreff: Re: [ovirt-users] OVirt 4.1.2 - trim/discard on HDD/XFS/NFS contraproductive

> Le 18 juin 2017 à 08:00, Idan Shaby <ishaby at redhat.com> a écrit :
> If you don't need live discarding, shutdown the VM and disable the "Enable Discard" option. That will cause qemu to ignore the live UNMAP SCSI commands coming from the guest and not pass it on to the underlying storage.
> Note that this makes fstrim completely redundant, as the purpose of the command is to discard unused blocks under the given path.

Redundant ? Useless you mean ? From my comprehension, the purpose to fstrim is to send UNMAP SCSI on batch instead of mount -o discard that send them synchronously.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170618/e179f335/attachment.txt>


More information about the Users mailing list