From: Jeff Layton <laytonjb@att.net>
To: Jeff Garzik <jeff@garzik.org>
Cc: Matthew Wilcox <matthew@wil.cx>, linux-fsdevel@vger.kernel.org
Subject: Re: TRIM support in drivers and dm/md?
Date: Thu, 04 Nov 2010 13:56:49 -0400 [thread overview]
Message-ID: <4CD2F3E1.8040700@att.net> (raw)
In-Reply-To: <4CD2E32D.9030303@garzik.org>
>>>> 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.
>
>> That's the rub. I've heard that many drivers don't understand
>> the command. So I'm curious what drivers do and any experience
>> anyone might have.
>
> Note the distinction between "drive" and "driver"... I agree with
> what Matthew says.
>
Oops - sorry I missed "drive" vs. "driver".
I've heard from other places that drivers need to pass along
the TRIM command to the drives but that many drivers don't
do this. I assume that the best way to determine if this is
accurate is to test the controller drivers or ping the maintainers.
Thanks!
next prev parent reply other threads:[~2010-11-04 17:57 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
2010-11-04 14:46 ` Jeff Layton
2010-11-04 16:45 ` Jeff Garzik
2010-11-04 17:56 ` Jeff Layton [this message]
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=4CD2F3E1.8040700@att.net \
--to=laytonjb@att.net \
--cc=jeff@garzik.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=matthew@wil.cx \
/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).