Chris Samuel posted on Sat, 15 Mar 2014 17:48:56 +1100 as excerpted: > $ sudo smartctl --identify /dev/sdb | fgrep 'Trim bit in DATA SET > MANAGEMENT' > 169 0 1 Trim bit in DATA SET MANAGEMENT command > supported > $ > > If that command returns nothing then it's not reported as supported (and > I've tested that). You can get the same info with hdparm -I. > My puzzle now is that I have two SSD drives that report supporting NCQ > TRIM (one confirmed via product info) but report only supporting SATA > 3.0 not 3.1. My SATA 2.5 SSDs reported earlier, report support for it too, so it's apparently not SATA 3.1 limited. (Note that I'm simply grepping word 169, in the command below. Since word 169 is trim support...) sudo smartctl --identify /dev/sda | grep '^ 169' 169 - 0x0001 Data Set Management support 169 0 1 Trim bit in DATA SET MANAGEMENT command supported Either that or that feature bit simply indicates trim support, not NCQ trim support. But it can be noted that if SATA 3.1 requires trim to be NCQ if its supported at all (spinning rust would thus get a pass), then claiming 3.1 support as well as trim support should be the equivalent of claiming NCQ trim support, likely with no indicator of whether that trim support is NCQ or not, pre-3.1. ... Which would mean that my SATA 2.5 and your SATA 3.0 drives are simply indicating trim support, not specifically NCQ trim support. I guess you'd have to check the SATA 2.5 and 3.0 specs to find that out. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
