Added missing SCSI quirks from r241784
Re-ordered SSD quirks alphabetically so they are easier to maintain. Removed my email and PR reference from comments on each quirk. Added quirks for more SSDs: * Crucial M4 * Corsair Force GT * Intel 520 Series * Kingston E100 Series * Samsung 830 Series Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after: 1 week
This commit is contained in:
parent
dd3368997e
commit
32fe0ef7ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251061
@ -272,12 +272,11 @@ static struct ada_quirk_entry ada_quirk_table[] =
|
|||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD?????PVT*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WD?????PVT*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
|
/* SSDs */
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Corsair Force 2 SSDs
|
* Corsair Force 2 SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair CSSD-F*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair CSSD-F*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
@ -286,72 +285,34 @@ static struct ada_quirk_entry ada_quirk_table[] =
|
|||||||
/*
|
/*
|
||||||
* Corsair Force 3 SSDs
|
* Corsair Force 3 SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair Force 3*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair Force 3*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* OCZ Agility 3 SSDs
|
* Corsair Force GT SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-AGILITY3*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair Force GT*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* OCZ Vertex 2 SSDs (inc pro series)
|
* Crucial M4 SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ?VERTEX2*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "M4-CT???M4SSD2*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
|
||||||
},
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* OCZ Vertex 3 SSDs
|
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-VERTEX3*", "*" },
|
|
||||||
/*quirks*/ADA_Q_4K
|
|
||||||
},
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* SuperTalent TeraDrive CT SSDs
|
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "FTM??CT25H*", "*" },
|
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Crucial RealSSD C300 SSDs
|
* Crucial RealSSD C300 SSDs
|
||||||
* 4k optimised
|
* 4k optimised
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "C300-CTFDDAC???MAG*",
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "C300-CTFDDAC???MAG*",
|
||||||
"*" }, /*quirks*/ADA_Q_4K
|
"*" }, /*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
{
|
|
||||||
/*
|
|
||||||
* XceedIOPS SATA SSDs
|
|
||||||
* 4k optimised
|
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "SG9XCS2D*", "*" },
|
|
||||||
/*quirks*/ADA_Q_4K
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Intel 320 Series SSDs
|
* Intel 320 Series SSDs
|
||||||
@ -364,10 +325,8 @@ static struct ada_quirk_entry ada_quirk_table[] =
|
|||||||
/*
|
/*
|
||||||
* Intel 330 Series SSDs
|
* Intel 330 Series SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2ct*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2CT*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -380,24 +339,84 @@ static struct ada_quirk_entry ada_quirk_table[] =
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* OCZ Deneva R Series SSDs
|
* Intel 520 Series SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "DENRSTE251M45*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2BW*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Kingston E100 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "KINGSTON SE100S3*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Kingston HyperX 3k SSDs
|
* Kingston HyperX 3k SSDs
|
||||||
* 4k optimised & trim only works in 4k requests + 4k aligned
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
* Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
|
|
||||||
* PR: 169974
|
|
||||||
*/
|
*/
|
||||||
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "KINGSTON SH103S3*", "*" },
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "KINGSTON SH103S3*", "*" },
|
||||||
/*quirks*/ADA_Q_4K
|
/*quirks*/ADA_Q_4K
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Agility 3 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-AGILITY3*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Deneva R Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "DENRSTE251M45*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Vertex 2 SSDs (inc pro series)
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ?VERTEX2*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Vertex 3 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-VERTEX3*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Samsung 830 Series SSDs
|
||||||
|
* 4k optimised
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG SSD 830 Series*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* SuperTalent TeraDrive CT SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "FTM??CT25H*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* XceedIOPS SATA SSDs
|
||||||
|
* 4k optimised
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "SG9XCS2D*", "*" },
|
||||||
|
/*quirks*/ADA_Q_4K
|
||||||
|
},
|
||||||
{
|
{
|
||||||
/* Default */
|
/* Default */
|
||||||
{
|
{
|
||||||
|
@ -907,6 +907,151 @@ static struct da_quirk_entry da_quirk_table[] =
|
|||||||
{T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "HM250JI", "*"},
|
{T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "HM250JI", "*"},
|
||||||
/*quirks*/ DA_Q_NO_SYNC_CACHE
|
/*quirks*/ DA_Q_NO_SYNC_CACHE
|
||||||
},
|
},
|
||||||
|
/* SATA SSDs */
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Corsair Force 2 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Corsair CSSD-F*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Corsair Force 3 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Corsair Force 3*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Corsair Force GT SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Corsair Force GT*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Crucial M4 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "M4-CT???M4SSD2*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Crucial RealSSD C300 SSDs
|
||||||
|
* 4k optimised
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "C300-CTFDDAC???MAG*",
|
||||||
|
"*" }, /*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Intel 320 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "INTEL SSDSA2CW*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Intel 330 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "INTEL SSDSC2CT*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Intel 510 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "INTEL SSDSC2MH*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Intel 520 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "INTEL SSDSC2BW*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Kingston E100 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "KINGSTON SE100S3*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Kingston HyperX 3k SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "KINGSTON SH103S3*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Agility 3 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "OCZ-AGILITY3*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Deneva R Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "DENRSTE251M45*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Vertex 2 SSDs (inc pro series)
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "OCZ?VERTEX2*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* OCZ Vertex 3 SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "OCZ-VERTEX3*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Samsung 830 Series SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG SSD 830 Series*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* SuperTalent TeraDrive CT SSDs
|
||||||
|
* 4k optimised & trim only works in 4k requests + 4k aligned
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "FTM??CT25H*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* XceedIOPS SATA SSDs
|
||||||
|
* 4k optimised
|
||||||
|
*/
|
||||||
|
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SG9XCS2D*", "*" },
|
||||||
|
/*quirks*/DA_Q_4K
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static disk_strategy_t dastrategy;
|
static disk_strategy_t dastrategy;
|
||||||
|
Loading…
Reference in New Issue
Block a user