From owner-freebsd-fs@FreeBSD.ORG Sat Jul 6 01:10:53 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 DE177FBD for ; Sat, 6 Jul 2013 01:10:53 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 9DCF11E63 for ; Sat, 6 Jul 2013 01:10:53 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id o13so4952206qaj.10 for ; Fri, 05 Jul 2013 18:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=G2OVd8DdDgDvZK0zN1JI+0w31B/2GLbu34nH6I+yO10=; b=MoRROB6uvOpD/vbssikpuxuWl91wWA4ZemWJVpfSImcZXXymoD8hi1JvJE0LdUpE+l l6RpJ1QTW3c4VDhLMD1SVv89HcUSzkO9IcxgHuYySGwxBxJULXSgBbt2W5AxYrEcUBvA IBTptWoA4SanDDXp1KBab8nkgAZWrljtLVNhUbUV8ZJZQ4mhVB57QHD3B+ADMXKugLgd IzCsahmWlVaX7q0QcG7D5mzw0F0m3iVr2bZqiOY78zQkYlmwo2Hw923XXuYHQg7S23cE HpBp7o68MAFO430lnxkFIGxOg1KDgCy61mYxgwzcD2X0w39lNo7QpiwM723JamWN8uAQ mMMg== MIME-Version: 1.0 X-Received: by 10.224.187.129 with SMTP id cw1mr9594453qab.68.1373073053202; Fri, 05 Jul 2013 18:10:53 -0700 (PDT) Received: by 10.49.49.135 with HTTP; Fri, 5 Jul 2013 18:10:53 -0700 (PDT) Received: by 10.49.49.135 with HTTP; Fri, 5 Jul 2013 18:10:53 -0700 (PDT) In-Reply-To: References: <51D42107.1050107@digsys.bg> <2EF46A8C-6908-4160-BF99-EC610B3EA771@alumni.chalmers.se> <51D437E2.4060101@digsys.bg> <20130704000405.GA75529@icarus.home.lan> <20130704171637.GA94539@icarus.home.lan> <2A261BEA-4452-4F6A-8EFB-90A54D79CBB9@alumni.chalmers.se> <20130704191203.GA95642@icarus.home.lan> <43015E9015084CA6BAC6978F39D22E8B@multiplay.co.uk> <3CFB4564D8EB4A6A9BCE2AFCC5B6E400@multiplay.co.uk> <51D6A206.2020303@digsys.bg> Date: Fri, 5 Jul 2013 18:10:53 -0700 Message-ID: Subject: Re: Slow resilvering with mirrored ZIL From: Freddie Cash To: Daniel Kalchev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Filesystems 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, 06 Jul 2013 01:10:53 -0000 On 2013-07-05 6:08 PM, "Freddie Cash" wrote: > > > On 2013-07-05 3:38 AM, "Daniel Kalchev" wrote: > > > > > > On 05.07.13 02:28, Steven Hartland wrote: > >> > >> > >> > >> If anyone wants my current patches which add switch to 4k ashift by default > >> as a sysctl + works with QUIRKS too, just let me know. > >> > >> They are well tested, just we want more options before putting in the tree. > > > > > > Is it not easier to add this as an option to zpool create, instead of an sysctl? > > ZFS- on-Linux has added this as "-o ashift=" property for zpool create. > > There's a threat on the illumos list about standardising this s across all ZFS- using OSes. Threat=thread Lol Thinking about this, it would be nice to have a property that can be set via -o to "zpool add" and "zpool create", as well as a pool property for minimum ashift. Obviously, you'd have to set the minimum when the pool is created.