FreeBSD Bugzilla – Attachment 211142 Details for
Bug 243683
Need to add quirk for Micron 5300 series of ssd drives
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Adding quirk to disable UNMAP/TRIM for Micron 5300 SSD
micron_5300.diff (text/plain), 1.01 KB, created by
Vitalij Satanivskij
on 2020-01-28 21:58:13 UTC
(
hide
)
Description:
Adding quirk to disable UNMAP/TRIM for Micron 5300 SSD
Filename:
MIME Type:
Creator:
Vitalij Satanivskij
Created:
2020-01-28 21:58:13 UTC
Size:
1.01 KB
patch
obsolete
>Index: ata/ata_da.c >=================================================================== >--- ata/ata_da.c (revision 357144) >+++ ata/ata_da.c (working copy) >@@ -610,10 +610,18 @@ > * 4k optimised & trim only works in 4k requests + 4k aligned > */ > { T_DIRECT, SIP_MEDIA_FIXED, "*", "Micron 5100 MTFDDAK*", "*" }, > /*quirks*/ADA_Q_4K > }, > { > /* >+ * Micron 5300 SSDs >+ * 4k optimised & trim only works in 4k requests + 4k aligned >+ */ >+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "Micron_5300_MTFD*", "*" }, >+ /*quirks*/ADA_Q_4K | ADA_Q_NO_TRIM >+ }, >+ { >+ /* > * OCZ Agility 2 SSDs > * 4k optimised & trim only works in 4k requests + 4k aligned > */ >Index: scsi/scsi_da.c >=================================================================== >--- scsi/scsi_da.c (revision 357144) >+++ scsi/scsi_da.c (working copy) >@@ -890,6 +890,11 @@ > /*quirks*/DA_Q_4K > }, > { >+ /* Micron Advanced Format (4k) drives */ >+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Micron_5300_MTFD*", "*" }, >+ /*quirks*/DA_Q_4K | DA_Q_NO_UNMAP >+ }, >+ {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243683
: 211142