[CentOS-virt] KVM virtio block layer - is TRIM/DISCARD supported?

Dmitry E. Mikhailov d.mikhailov at infocommunications.ru
Sat Feb 2 10:12:11 UTC 2013


One question please:

If I use SSD as a storage on a host machine, does KVM's virtio I/O layer
pass the TRIM/DISCARD commands to the SSD?

I guess the question would be twofold:
1) is TRIM supported/forwarded if only one LVM'ed partition of SSD is
2) is TRIM supported/forwarded if full SSD is forwarded (i.e. /dev/sdX)

Best regards,
        Dmitry Mikhailov

More information about the CentOS-virt mailing list