3 ms·
I don't understand how you can do the equivalent of TRIM without filesystem support. Doesn't TRIM necessarily rely on knowing which blocks contain live data an
by pinko 16y ago
I don't understand how you can do the equivalent of TRIM without filesystem support.
Doesn't TRIM necessarily rely on knowing which blocks contain live data and which contain deleted data? I.e., something the hardware can't know?
- wmf 16y agoAn SSD can read the filesystem allocation bitmap, but that's a "rampant layering violation". Most people confuse trim with garbage collection, which proactively cleans out invalid data (creating more pre-erased blocks to speed future writes) and potentially defragments data (to speed future sequential reads).