From: Matthew Wilcox <matthew@wil.cx>
To: Jeff Layton <laytonjb@att.net>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: TRIM support in drivers and dm/md?
Date: Thu, 4 Nov 2010 07:40:14 -0600 [thread overview]
Message-ID: <20101104134014.GB21931@parisc-linux.org> (raw)
In-Reply-To: <4CD2B2EF.4050005@att.net>
On Thu, Nov 04, 2010 at 09:19:43AM -0400, Jeff Layton wrote:
> Do many of the SATA controllers support TRIM? (i.e. pass
> the TRIM command to the SSD). Does anyone know
> anything about dm/md supporting TRIM? (I'm thinking LVM
> and software RAID tools).
As far as I know, there's nothing to be done in any SATA controller
driver to support TRIM. It's just up to the drive whether it understands
the command.
Not sure what the sate of play is with MD/DM and TRIM. It's a bit tricky
because some SATA drives will return different garbage from TRIMmed sectors
each time they're read. That can hamper a RAID-5/6 rebuild "somewhat".
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2010-11-04 13:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 13:19 TRIM support in drivers and dm/md? Jeff Layton
2010-11-04 13:40 ` Matthew Wilcox [this message]
2010-11-04 14:46 ` Jeff Layton
2010-11-04 16:45 ` Jeff Garzik
2010-11-04 17:56 ` Jeff Layton
2010-11-04 20:23 ` Jeff Garzik
2010-11-05 2:44 ` Mark Lord
2010-11-05 2:56 ` Jeff Garzik
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=20101104134014.GB21931@parisc-linux.org \
--to=matthew@wil.cx \
--cc=laytonjb@att.net \
--cc=linux-fsdevel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).