I just noticed the new "Virtio SCSI disk" and "Virtio SCSI lun" storage
types in virt-manager (and their libvirt XML device=... equivalents).

Reading up on them, I see that "generic" SCSI commands are only accepted
when device='lun', but this only works when the source is an "actual raw
device" -- not an LVM LV or partition.

Does this mean that DISCARD commands are rejected when device='disk'?

I've been using SSD-backed LVs as virtio-scsi disks, with the idea that
this would cause DISCARD commands to be passed through from the guests.
It would be a real bummer if there were no way to do this.

Thanks!

-- 
========================================================================
Ian Pilcher                                         arequip...@gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================

_______________________________________________
virt mailing list
virt@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/virt

Reply via email to