Yes. Here is some additonal info: in libata-scsi.c tf->protocol = ATA_PROT_DMA; 2983 tf->hob_feature = 0; 2984 tf->feature = ATA_DSM_TRIM; //0x01 2985 tf->hob_nsect = (size / 512) >> 8; 2986 tf->nsect = size / 512; 2987 tf->command = ATA_CMD_DSM; //0x06 2988 tf->flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE | ATA_TFLAG_LBA48 | 2989 ATA_TFLAG_WRITE; 2990 ________________________________________ From: Simon Kitching [simon.kitching@xxxxxxxxxx] Sent: Thursday, April 15, 2010 3:18 PM To: Bill Weiler Cc: kernelnewbie Subject: Re: Researching ATA TRIM command On Thu, 2010-04-15 at 14:25 -0700, Bill Weiler wrote: > All, > I found the task file call in libata-scsi.c in kernel 2.6.33. > > TRIM seem to be a SCSI to ATA translation of "WRITE SAME 16". > > Under what conditions would "WRITE SAME 16" be called? > > (I am not as familiar with SCSI as I am with ATA). Is this the TRIM operation you are asking about? http://en.wikipedia.org/wiki/TRIM -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ