Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2020 21:58:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243683] Need to add quirk for Micron 5300 series of ssd drives
Message-ID:  <bug-243683-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243683

            Bug ID: 243683
           Summary: Need to add quirk for Micron 5300 series of ssd drives
           Product: Base System
           Version: 12.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: satan@Ukr.net

Created attachment 211142
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211142&action=
=3Dedit
Adding quirk to disable UNMAP/TRIM for Micron 5300 SSD

Quirks for a Micron 5300 pro sata ssd drive.
When truing to use it in zfs pool find terrible performance caused by zfs
sending trim command to ssd. For example samsung PM863a worked in same pool
have x 10 better performance. After disable trim via quirks for micron get=
=20
performance near or beatter then PM863a. So looks like Micron have troble w=
ith=20
trim/unmap on that type of devices.

In attachment I place quick patch adding quirks to scsi_da.c and ata_da.c=20

where simply adding quirk for 4k (looks like no needed ) and
DA_Q_NO_UNMAP/ADA_Q_NO_TRIM for that's device's.

quirks tested on 12.1-STABLE and 11.2-STABLE=20=20
On 11.2  only for for scsi_da.c as quirk ADA_Q_NO_TRIM doesn't exist.

Its will be good if some body can confirm that fix is right and push change=
s to
upstream=20

Patch again 12.1-STABLE FreeBSD 12.1-STABLE r357144

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243683-227>