From owner-freebsd-fs@FreeBSD.ORG Sat Jan 19 13:34:17 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2B8E81E4 for ; Sat, 19 Jan 2013 13:34:17 +0000 (UTC) (envelope-from prvs=17316559e7=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id C5CE0BE8 for ; Sat, 19 Jan 2013 13:34:16 +0000 (UTC) Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50001761944.msg for ; Sat, 19 Jan 2013 13:34:09 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Sat, 19 Jan 2013 13:34:09 +0000 (not processed: message from valid local sender) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=17316559e7=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: From: "Steven Hartland" To: "Dani" , References: Subject: Re: Enable UNMAP in ZFS Date: Sat, 19 Jan 2013 13:34:38 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2013 13:34:17 -0000 As others have said ZFS TRIM support, which can be backed by SATA TRIM or SCSI UNMAP, is supported in head. All these require driver support for the underlying card, which currently means either CAM ata or scsi supported controllers. I do plan to MFC ZFS TRIM to stable but it could be a few weeks before I get to it. I also have a fairly extensive patch for cam which improves cam trim, unmap support if you want to test it. Regards Steve ----- Original Message ----- From: "Dani" To: Sent: Friday, January 18, 2013 1:07 PM Subject: Enable UNMAP in ZFS > Hi all, > > I have installed FreeBSD 9.1 and have created a ZFS pool with SAS disks. > How can I enable UNMAP on SSDs devices used as cache and log devices? > > Thanks you. Regards. > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.