From owner-freebsd-fs@FreeBSD.ORG Wed Nov 14 23:11:47 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 161CBEE; Wed, 14 Nov 2012 23:11:47 +0000 (UTC) (envelope-from ryao@gentoo.org) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 98C178FC12; Wed, 14 Nov 2012 23:11:46 +0000 (UTC) Received: from [192.168.1.2] (pool-173-77-245-118.nycmny.fios.verizon.net [173.77.245.118]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ryao) by smtp.gentoo.org (Postfix) with ESMTPSA id EA16F33D966; Wed, 14 Nov 2012 23:11:39 +0000 (UTC) Message-ID: <50A42490.90103@gentoo.org> Date: Wed, 14 Nov 2012 18:09:04 -0500 From: Richard Yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121107 Thunderbird/10.0.10 MIME-Version: 1.0 To: Steven Hartland Subject: Re: Port of ZFSOnLinux solution for illumos-gate issue #2663 to FreeBSD References: <50A329A4.9090304@gentoo.org> <3AD8FAE474C24860B57C75DEBE431126@multiplay.co.uk> In-Reply-To: <3AD8FAE474C24860B57C75DEBE431126@multiplay.co.uk> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC5E529FD90024BFF04A2D9BD" Cc: freebsd-fs@freebsd.org, Eitan Adler 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: Wed, 14 Nov 2012 23:11:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC5E529FD90024BFF04A2D9BD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/14/2012 12:34 AM, Steven Hartland wrote: > Useful stuff, you might be interested in the follow:- > > Teach ZFS about geom stripe size so zpools are created with optimum ash= ift > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D173115 > > I've got an updated patch which allows the min ashift to be configured.= > > It should be noted that the max working ashift appears to be 17 > due the way labels use zio_read_phys with offset. > > Regards > Steve Your patch modifies autodetection while this patch provides a manual override. They should be able to co-exist. With that said, the orignal patch permitted ashift=3D17, but that was shown to permit pool corruption: https://github.com/zfsonlinux/zfs/issues/425 As far as I know, ashift=3D13 is the highest value permitted on both Linu= x and FreeBSD. The code can operate with higher values, but I do not recommend them. --------------enigC5E529FD90024BFF04A2D9BD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJQpCSQAAoJECDuEZm+6ExkuqUP/2jhJw8l3VoBDCtaZ39B445Q sDlOKJrPzYqOpFzYvnwwfEiP8QoAmFDCvZfmhZqYF+LTsPj5+7Ro/6BqP6UiZsUr A6AdhmEcQvaMgvK+bcA/uUL6JztwcmEMICUFFiEw/Dbca7886aAGgzv7HJxiSfpP afTeSBQVrHeY6UWKO5SBkt6M3fCQlQlrLq8AHANYumHkJT9G3Em32t7VYXJAKvJW jBWSeUprwDM7asMszdRVPkNHeaOXFsASHWOHBhTYsPVhL336jKEzKBJqAEGdqJbE GPIM3lglQQI59QHkq/B3rzlpNoCxCfqpo2wwWchT1x9RDSIv+5z3c8sbGwSYiepy soCATj6HaXP5VbZIxMdUmjWT5EEm9HFzbA3/L9fYdCDMKxVAEKrgCH9eeS5eoBgJ NjXZtjyNkNGxnHZVSObZ3U8FbzIjQ43fd5cCOpOUj0Zyu4XX0oyx7U0yOCCF0HEq L+6wvYHOALIwZHljlItGeMerxQbleLrJ03XC8dnx3Jsv6I6INFg6Ww9jB0IblrR5 b4P/5qUOmqWgv6n8esrQTRdLhywnOAMSFNeBFwTdvY82KU9Xtz4PjbvOf2ILJeiH ENGgZVIxbjVjdSpGSw5cSuoH9+/7mjbF3CjMr2vseK36vq87WzOJa3byH0WKr3/q sPffRnF39CIZ2eyw5it5 =0n6T -----END PGP SIGNATURE----- --------------enigC5E529FD90024BFF04A2D9BD--