[Bug 191810] New: some SSDs should use UNMAP instead of ATA_TRIM

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 11 18:00:48 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191810

            Bug ID: 191810
           Summary: some SSDs should use UNMAP instead of ATA_TRIM
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: michael at supermathie.net

System: FreeBSD fearless2 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Wed Jul 9
12:19:19 EDT 2014 root at fearless2:/usr/obj/usr/src/sys/CAMDEBUG amd64

On my SSDs (IBM TX21B10400GE8IBM) UNMAP should be used instead of ATA_TRIM as
UNMAP seems much more reliable.

Using TRIM, I get frequent timeouts:
http://pastie.org/pastes/9368423/text?key=i4gmruxdtjars9fduq8w

(da6:mps1:0:5:0): ATA COMMAND PASS THROUGH(16). CDB: 85 0d 06 00 01 00 03 00 00
00 00 00 00 40 06 00 
(da6:mps1:0:5:0): CAM status: Command timeout
(da6:mps1:0:5:0): Retrying command

Is it possible to default to using UNMAP, if not for everything than for
whitelisted devices?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list