Pasi Kärkkäinen <pa...@iki.fi> wrote:

> On Mon, Jan 31, 2011 at 03:41:52PM +0100, Joerg Schilling wrote:
> > Brandon High <bh...@freaks.com> wrote:
> > 
> > > On Sat, Jan 29, 2011 at 8:31 AM, Edward Ned Harvey
> > > <opensolarisisdeadlongliveopensola...@nedharvey.com> wrote:
> > > > What is the status of ZFS support for TRIM?
> > >
> > > I believe it's been supported for a while now.
> > > http://www.c0t0d0s0.org/archives/6792-SATA-TRIM-support-in-Opensolaris.html
> > 
> > The command is implemented in the sata driver but there does ot seem to be 
> > any 
> > user of the code.
> > 
>
> Btw is the SCSI equivalent also implemented? iirc it was called SCSI UNMAP 
> (for SAS).

The high level interface is called unmap .... it seems that the planned 
interface for ZFS is to send a raw SPC3_CMD_UNMAP SCSI command to the driver 
and that this command is translated into TRIM in the sata case.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
,
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to