On 11/26/2009 10:46 PM, Martin K. Petersen wrote:
"Mark" == Mark Lord<kernel@xxxxxxxxxxxx> writes:
Mark> Is that correct, or should it be this:
Mark> if (ata_id_has_trim(id)&& (id[ATA_ID_ADDITIONAL_SUPP]&
Mark> 0x4020) == 0x4020)
Good spotting! You are right, I need both bits to be set...
libata: Report zeroed read after Trim and max discard size
Our current Trim payload is a single sector that can accommodate 64 *
65535 blocks being unmapped. Report this value in the Block Limits
Maximum Unmap LBA count field.
If a storage device supports Trim and the DRAT and RZAT bits are set,
report TPRZ=1 in Read Capacity(16).
Signed-off-by: Martin K. Petersen<martin.petersen@xxxxxxxxxx>
The two libata patches look good. I need to review the thread one more
time, and then will apply these...
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html