All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Carino <marc.ceeeee@gmail.com>
To: linux-ide@vger.kernel.org, tj@kernel.org
Cc: marc.ceeeee@gmail.com, mykola.dvornik@gmail.com
Subject: [PATCH 0/2] libata: disable queued trim for Micron M500 SSDs
Date: Mon, 16 Dec 2013 18:15:52 -0800	[thread overview]
Message-ID: <1387246554-7311-1-git-send-email-marc.ceeeee@gmail.com> (raw)

There was a report of silent data corruption on Fedora 20 w/ the v3.12
kernel. After some analysis of SATA traces, it appears that in certain
queued scenarios, the Micron M500 SSD will exhibit incorrect protocol
behavior. A support request was sent to the vendor, and a firmware fix
is in the works.

Until a firmware update is deployed for the Micron/Crucial M500 SSD,
the ATA driver should avoid issuing the queued TRIM commands to the
affected devices.

This patchset adds a new horkage flag to let the queued trim commands
be disabled, depending on the drive model string.

Marc Carino (2):
  libata: add horkage flag to disable issuance of queued TRIM commands
  libata: disable queued TRIMs for Micron M500 SSDs

 drivers/ata/libata-core.c | 11 +++++++++++
 include/linux/libata.h    |  2 ++
 2 files changed, 13 insertions(+)

-- 
1.8.1.3


             reply	other threads:[~2013-12-17  2:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17  2:15 Marc Carino [this message]
2013-12-17  2:15 ` [PATCH 1/2] libata: add horkage flag to disable issuance of queued TRIM commands Marc Carino
2013-12-17  2:15 ` [PATCH 2/2] libata: disable queued TRIMs for Micron M500 SSDs Marc Carino
2013-12-17 12:06 ` [PATCH] libata: implement ATA_HORKAGE_NO_NCQ_TRIM and apply it to Micro " Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387246554-7311-1-git-send-email-marc.ceeeee@gmail.com \
    --to=marc.ceeeee@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=mykola.dvornik@gmail.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.