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

2013-02-02 Thread Dmitry E. Mikhailov
Hi, 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 forwarded? 2) is TRIM supported/forwarded if

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

2013-02-02 Thread Nico Kadel-Garcia
On Sat, Feb 2, 2013 at 5:12 AM, Dmitry E. Mikhailov d.mikhai...@infocommunications.ru wrote: Hi, 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? Doesn't look like it, *yet*. That looks like it came out