views:

19

answers:

1

Hi,

Anyone know where I'd find an ATA reference that details the protocol for triggering a TRIM? I'm looking to discover what sort of structure/object/data I'd need to send in a raw IOCTL to get an ATA device to trigger a TRIM (assuming appropriate hardware/firmware support, obviously).

Thanks.

+2  A: 

You will find more than you ever wanted to know about ATA on T13's website.

The most recent published spec ATA8 doesn't contiain TRIM.

This document (a clarification to an addendum to ATA8) probably has what you need.

BioBuckyBall
Thanks. If only they had a PDF/DOC without the changes tracked for first-timers!But you're right - it's definitely very much in-depth and *probably* contains everything I need :)
Computer Guru
It seems the documents are incomplete? Sections 6 is missing from e09158r0, e09158r1, e09158r2
Computer Guru
OK, http://t13.org/Documents/UploadedDocuments/docs2008/e07154r6-Data_Set_Management_Proposal_for_ATA-ACS2.doc + http://t13.org/Documents/UploadedDocuments/docs2010/e09158r2-Trim_Clarifications.doc is the complete package.
Computer Guru

related questions