>>>>> "Tom" == Tom Yan <tom.ty89@xxxxxxxxx> writes: Tom> So when libata issue ATA commands with ranges of 65535 sectors, Tom> only 65535-(65535%8) = 65528 sectors are discarded, That's unfortunate but TRIM is advisory so the drive is free to ignore all or parts of the request. What happens if you discard sectors 0-6 and then sector 7? Tom> I can workaround this by specifying --step in blkdiscard, but I Tom> think the kernel should have a param configurable for general. This is on the Intel 530? What does the drive report in /sys/block/sdN/queue/discard_zeroes_data? -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html