From owner-freebsd-fs@FreeBSD.ORG Thu Nov 6 13:57:11 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D30CF90 for ; Thu, 6 Nov 2014 13:57:11 +0000 (UTC) Received: from cu01176b.smtpx.saremail.com (cu01176b.smtpx.saremail.com [195.16.151.151]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18D9519C for ; Thu, 6 Nov 2014 13:57:10 +0000 (UTC) Received: from [172.16.2.2] (izaro.sarenet.es [192.148.167.11]) by proxypop04.sare.net (Postfix) with ESMTPSA id D14C59DF033; Thu, 6 Nov 2014 14:48:29 +0100 (CET) Subject: Re: ZFS bug: Creating ZIL ignores vfs.zfs.min_auto_ashift Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Borja Marcos In-Reply-To: <9C91F97841BC4347910F206618BAA3BB9AF327D1@PAIMAIL.pai.local> Date: Thu, 6 Nov 2014 14:48:28 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <49868BFD-A96A-4B60-B337-6BAD611BDCAA@sarenet.es> References: <9C91F97841BC4347910F206618BAA3BB9AF327D1@PAIMAIL.pai.local> To: Michael Jung X-Mailer: Apple Mail (2.1283) Cc: "freebsd-fs@FreeBSD.org Filesystems" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 13:57:11 -0000 On Nov 6, 2014, at 2:11 PM, Michael Jung wrote: > What does smartctl -a /dev/ada1 show? >=20 > I see other posts via google showing that the SSDSA2CT040G3 has 512 = byte physical sectors (ashift 9) Different issue and I just stumbled upon it when testing this. The = quirk provided for the SSD 320 drives, { /* * Intel 320 Series SSDs * 4k optimised & trim only works in 4k requests + 4k = aligned */ { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSA2CW*", "*" = }, /*quirks*/ADA_Q_4K }, { /* * Intel 330 Series SSDs * 4k optimised & trim only works in 4k requests + 4k = aligned */ { T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2CT*", "*" = }, /*quirks*/ADA_Q_4K }, doesn't match mine, hence they are not properly recognized. Anyway, as Steve says, it's irrelevant. If I change the min_auto_ashift = variable to 12 it should set the ashift to 12 regardless of the quirk detection. I'll send the updated quirk to -scsi, but that's a different matter. Borja.