Closed damentz closed 7 years ago
Discard should only be enabled for block devices that expose ATA_TRIM, such as SSDs. Ram disks don't and shouldn't expose ATA_TRIM, and don't suffer from wear the same way SSDs do.
Closes suaefar/ryzen-test#11
Hi!
Thank you for your input! zram seems to support REQ_DISCARD [1].
[1] https://lwn.net/Articles/588383/
Discard should only be enabled for block devices that expose ATA_TRIM, such as SSDs. Ram disks don't and shouldn't expose ATA_TRIM, and don't suffer from wear the same way SSDs do.
Closes suaefar/ryzen-test#11