From owner-freebsd-fs@FreeBSD.ORG Fri Jun 28 17:19:36 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4C3974B for ; Fri, 28 Jun 2013 17:19:36 +0000 (UTC) (envelope-from skiselkov.ml@gmail.com) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 64CCF19EA for ; Fri, 28 Jun 2013 17:19:36 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id w56so1476462wes.11 for ; Fri, 28 Jun 2013 10:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FbuXOYmSasMOtAniXmRQbMsKHAQLz6s59JvLLDCftTk=; b=Yab/7nAoAOD2LnbiDJDOpWfybncMVg3QIDAUZcnCdxuwVz25ANfbTgCbxzfDC5c1Ib R+jGzhxT3RY/QpvOAsbRWcqKtZA3Re/GDZ2OwSdhvmOL4hLXEpvVdZNMaIzoO2AgPH/9 zYuBtB0veHtuDxDfTR+DoZrEO8lPVaAfFiR7Pw/Knnw0Jmes0dxKguObmRMcDybP2+K0 eVyJ+SP1pm/hn9cPccKThFmsRCWXU/nn59AowHlUSu6GfcwmDv078OigztbT7n4Aa5gn KzwFylq0fjoh+XOgEYNoUDNkM370P+36mILeJ1n13DgVpxEpU7c2g/mB+bmoAAszaOuj eHjQ== X-Received: by 10.194.237.38 with SMTP id uz6mr10467906wjc.73.1372439975587; Fri, 28 Jun 2013 10:19:35 -0700 (PDT) Received: from [192.168.0.2] (cpc9-cmbg15-2-0-cust426.5-4.cable.virginmedia.com. [86.30.201.171]) by mx.google.com with ESMTPSA id p1sm25230773wix.9.2013.06.28.10.19.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Jun 2013 10:19:34 -0700 (PDT) Message-ID: <51CDC5A3.6030400@gmail.com> Date: Fri, 28 Jun 2013 18:19:31 +0100 From: Saso Kiselkov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Matthew Ahrens Subject: Re: Persistent L2ARC References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs , George Wilson 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: Fri, 28 Jun 2013 17:19:36 -0000 On 28/06/2013 17:52, Matthew Ahrens wrote: > > On Fri, Jun 28, 2013 at 12:41 AM, Thomas Zander > > > wrote: > > On 28 June 2013 00:41, Matthew Ahrens > wrote: > > Yes, George and I need to finish reviewing it for illumos. If > you're able > > to test it out and report back, that would be great! > > You mean on illumos or on a patch for FreeBSD head? > Right now I don't have a test box but I might have one in a couple of > weeks. If so, I'd be happy to test and report. > > > We are reviewing the changes against illumos, but testing on either > illumos or a patched FreeBSD would be appreciated. Hi guys, As luck would have it I'm right now in the middle of refactoring some of the persistency code to get it ready for upstreaming. I'm doing a full nightly and will be testing my changes today. If all goes well I'll publish a new webrev for review this weekend or on Monday. Matt & George: I've built in your suggestion to store a hint about persistent L2ARC in the vdev configuration nvlist. Now we only attempt a rebuild if the vdev is marked as "persistency-capable". I've also gotten rid of the rotor L2 uberblock region - now it's just a simple 4k block at the start of the device that we write. We'll leave the flash wear leveling to the piece of hardware that knows best: the flash controller. Cheers, -- Saso