[PATCH] [Vivid](upstream) libata: Blacklist queued TRIM on all Samsung 800-series

Colin Ian King colin.king at canonical.com
Wed Jun 3 08:03:40 UTC 2015


On 02/06/15 23:09, Dave Chiluk wrote:
> From: "Martin K. Petersen" <martin.petersen at oracle.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1338706
> BugLink: http://bugs.launchpad.net/bugs/1449005
> 
> The queued TRIM problems appear to be generic to Samsung's firmware and
> not tied to a particular model. A recent update to the 840 EVO firmware
> introduced the same issue as we saw on 850 Pro.
> 
> Blacklist queued TRIM on all 800-series drives while we work this issue
> with Samsung.
> 
> Reported-by: Günter Waller <g.wal at web.de>
> Reported-by: Sven Köhler <sven.koehler at gmail.com>
> Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
> Cc: stable at vger.kernel.org
> Signed-off-by: Tejun Heo <tj at kernel.org>
> (cherry picked from commit 9a9324d3969678d44b330e1230ad2c8ae67acf81)
> Signed-off-by: Dave Chiluk <chiluk at canonical.com>
> ---
>  drivers/ata/libata-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
> index 00f2f74..eabee5e 100644
> --- a/drivers/ata/libata-core.c
> +++ b/drivers/ata/libata-core.c
> @@ -4243,7 +4243,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
>  						ATA_HORKAGE_ZERO_AFTER_TRIM, },
>  	{ "Crucial_CT*MX100*",		"MU01",	ATA_HORKAGE_NO_NCQ_TRIM |
>  						ATA_HORKAGE_ZERO_AFTER_TRIM, },
> -	{ "Samsung SSD 850 PRO*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
> +	{ "Samsung SSD 8*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
>  						ATA_HORKAGE_ZERO_AFTER_TRIM, },
>  
>  	/*
> 
Upstream quirk and a clean cherry pick, looks sane.

Acked-by: Colin Ian King <colin.king at canonical.com>




More information about the kernel-team mailing list