The best way to throw blocks away
The best way to throw blocks away
Posted Dec 2, 2010 15:02 UTC (Thu) by ricwheeler (subscriber, #4980)Parent article: The best way to throw blocks away
For real, physical devices, they have to support the relevant command in their firmware (TRIM for ATA, or WRITE_SAME with UNMAP or UNMAP for SCSI). So far, we have seen that TRIM support has been enabled in many S-ATA SSD's and in a few SCSI based arrays (with others coming). As far as I know, no traditional, single spindle drives implement this.
We definitely could implement a software only layer that is "discard" aware (the device mapper I think is looking at doing this).
I would say that we definitely need both online discard and batched discard. Some devices will really benefit from the online discard (and have no problems with it), others might only do well with batched and some will do best with a both :)
