Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 03:56:00 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Nikolai Lifanov" <lifanov@mail.lifanov.com>, "Xin LI" <delphij@freebsd.org>
Cc:        svn-src-head@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r268855 - in head: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys
Message-ID:  <09AF6051EC3848B6B691A5570B5B065E@multiplay.co.uk>
References:  <201407182041.s6IKffMR077972@svn.freebsd.org> <5d0810f5950150ef60044acf239adb4a@mail.lifanov.com>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Nikolai Lifanov" <lifanov@mail.lifanov.com>
To: "Xin LI" <delphij@freebsd.org>
Cc: <src-committers@freebsd.org>; <svn-src-head@freebsd.org>
Sent: Monday, July 21, 2014 2:22 AM
Subject: Re: svn commit: r268855 - in head: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs 
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys


> On 2014-07-18 16:41, Xin LI wrote:
>> Author: delphij
>> Date: Fri Jul 18 20:41:40 2014
>> New Revision: 268855
>> URL: http://svnweb.freebsd.org/changeset/base/268855
>>
>> Log:
>>   MFV r268848:
>>
>>   Instead of asserting all zio's be properly aligned, only assert
>>   on the logical ones.
>>
>>   Cap uberblocks at 8k, otherwise with ashift=17, there would be
>>   only one uberblock.
>>
>>   This fixes a problem that zdb would trip assert on pools with
>>   ashift >= 0xe (8k).
>>
>>   While there, also change the code so it only attempt to condense
>>   space map unless the uncondensed size consumes greater than
>>   zfs_metaslab_condense_block_threshold blocks.
>>
>>   Illumos issue:
>>     4958 zdb trips assert on pools with ashift >= 0xe
>>
>>   MFC after: 2 weeks
>>
>
> This specific commit makes boot hang just before mounting the root dataset for me when vfs.zfs.vdev.cache.size tunable is set. 
> Unsetting this tunable or reverting this commit (currently running r268933 minus r268855) fixes the boot for me.
>
> Please let me know if I can provide any more information.

Interesting, is there a reason you enabled vdev caching as its been
disabled by default for quite some time with the comment:

 * TODO: Note that with the current ZFS code, it turns out that the
 * vdev cache is not helpful, and in some cases actually harmful.  It
 * is better if we disable this.  Once some time has passed, we should
 * actually remove this to simplify the code.  For now we just disable
 * it by setting the zfs_vdev_cache_size to zero.  Note that Solaris 11
 * has made these same changes.

    Regards
    Steve 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09AF6051EC3848B6B691A5570B5B065E>