Changes between Initial Version and Version 1 of Ticket #10336, comment 65


Ignore:
Timestamp:
Jun 10, 2021, 1:29:38 AM (3 years ago)
Author:
dasebek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10336, comment 65

    initial v1  
    1 For me, TRIM support is especially useful in virtual machines with dynamically allocated storage. I use KVM with Virtio-SCSI storage. Currently, there are some pieces missing in the SCSI code that are necessary to make TRIM work properly. For example, reading VPD pages of the device to get information about the maximum supported size of an unmapped block, the correct SCSI operation to use (unmap/writesame 16/writesame 10), etc. I will have some time later this week and next week, so I am planning to review the existing code and implement some of the missing features.
     1For me, TRIM support is especially useful in virtual machines with dynamically allocated storage. I use KVM with Virtio-SCSI storage. Currently, there are some pieces missing in the SCSI code that are necessary to make TRIM work properly. For example, reading VPD pages of the device to get information about the maximum supported size of an unmapped block, the correct SCSI operation to use (unmap/writesame 16/writesame 10), etc.
     2
     3I will have some time later this week and next week, so I am planning to review the existing code and implement some of the missing features.