git: 6063683eb83a - stable/13 - ada: Another NCQ Trim instability drive

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 29 Apr 2024 02:38:08 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6063683eb83ad7f96850869ffe3d12c6db2dcbb9

commit 6063683eb83ad7f96850869ffe3d12c6db2dcbb9
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-04-29 02:34:51 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-29 02:35:12 +0000

    ada: Another NCQ Trim instability drive
    
    The Seagate IronWolf 110 SATA SSD drive has been reported to be unstable
    with NCQ trim enabled.
    
    PR: 264139
    Sponsored by:           Netflix
    
    (cherry picked from commit a6cef617660a424fcaa8343787f96d0ae720a284)
---
 sys/cam/ata/ata_da.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
index c5c567645166..4ad82e8e1fc0 100644
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -828,6 +828,11 @@ static struct ada_quirk_entry ada_quirk_table[] =
 		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WDS?????G0*", "*" },
 		/*quirks*/ADA_Q_4K | ADA_Q_NCQ_TRIM_BROKEN
 	},
+	{
+		/* Seagate IronWolf 110 SATA SSD NCQ Trim is unstable */
+		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "ZA*NM*", "*" },
+		/*quirks*/ADA_Q_4K | ADA_Q_NCQ_TRIM_BROKEN
+	},
 	{
 		/* Default */
 		{