From owner-freebsd-fs@FreeBSD.ORG Thu Nov 6 21:12:21 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 952F7CE7 for ; Thu, 6 Nov 2014 21:12:21 +0000 (UTC) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28B35A8C for ; Thu, 6 Nov 2014 21:12:20 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x13so2235136wgg.33 for ; Thu, 06 Nov 2014 13:12:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=5ayiX6WcR8Mx7gCVjfP9RfRUsCt+F8qT2VY4PmVNgz0=; b=MUmw9jQXLLr7bx6a1qwV5pZp5q/d8Uo9V8jv9fzKRI4gxtB/CYVCFOfFQQhzpq0DAT mw+bdbRy1R0IOViUibW4v3z4xPeGBOHTDlR58wwIUwhC7n+41xVh1GUtDVTUCGZV6sHN SpKZm0c6KDe1ZlU4Zez+DqhcI1+o8RKhtiq24wV2LkBrQxP+KuG8Psf/qIxldlmr6Tkk WNPjB2cc09DXj3BCgs4x2jFvclJk8UCCmn6DpODGnLbCDrsitr0tMfi/6KeLGQIkkD/2 x/SVY1iPE8AMzyUnRi6cRVK9lp56eREoPlWh1ki3SEndzFlDYZYSUFilkhCMDTbN+oz/ JffQ== X-Gm-Message-State: ALoCoQm3jUnRqXDIslNqLcaURpKIYzZEYN/Lh8aEH2bgzMDWAGSze8+4jY1gmRjQvYtV7kg0zeDe X-Received: by 10.194.79.201 with SMTP id l9mr9505309wjx.59.1415308339432; Thu, 06 Nov 2014 13:12:19 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id gw6sm9747768wib.8.2014.11.06.13.12.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Nov 2014 13:12:18 -0800 (PST) Message-ID: <545BE3E0.4030203@multiplay.co.uk> Date: Thu, 06 Nov 2014 21:10:56 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Borja Marcos Subject: Re: ZFS bug: was creating ZIL ignores vfs.zfs.min_auto_ashift, should be ZIL sets improper ashift with AHCI controllers References: <9C91F97841BC4347910F206618BAA3BB9AF327D1@PAIMAIL.pai.local> <545B76EF.6050709@multiplay.co.uk> <21D2A3A9-B6C1-458F-B17F-480251E999AE@sarenet.es> In-Reply-To: <21D2A3A9-B6C1-458F-B17F-480251E999AE@sarenet.es> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org 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 21:12:21 -0000 On 06/11/2014 14:58, Borja Marcos wrote: > On Nov 6, 2014, at 2:26 PM, Steven Hartland wrote: > >> That's not relevant as min when set should override the drives params > There is more to this than it seems, I just found more funny stuff. > > MY CONCLUSION IS: when creating a ZIL device, it behaves differently depending on the disk controller. It works with SAS, > and it doesn't work with AHCI. > Ok narrowed down the issue, looks like cache file generation is where the issue is, possibly a race condition. If you run the following then rerun your zdb I suspect you'll get the right results (ashift: 12) zpool set cachefile='' Alternatively you can run the following to display real pool config vs that which is in the cache file: zdb -C Regards Steve