Re: TRIM support in drivers and dm/md?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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."
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux