SSD TRIM Marks Unused Blocks Before New Writes
Deleting a file changes filesystem metadata, but a solid-state drive cannot infer from that metadata alone which stored pages no longer contain useful data. Without an extra signal, the drive may continue treating those pages as valid even after the operating system has released their logical addresses. TRIM provides that signal. It lets the operating system tell the SSD that selected logical block addresses no longer hold data that must be preserved. The controller can then treat the corresponding flash pages as disposable during later maintenance and write preparation.