It's better to name it 'discard', because TRIM a very specific ATA command. It done completely different in SCSI and slightly different in SD cards. But linux call it 'discard', or, to be precise, BLKDISCARD (name of ioctl).

On 10/01/2014 02:21 AM, Brian Rak wrote:
Are there any plans to bring trim support to Virtio-blk? We've got a couple things that would be made nicer by having working trim support.

I see that it's implemented in virtio-scsi, but there's a decent performance hit for switching over to that.



Reply via email to