From owner-freebsd-current@FreeBSD.ORG Mon Apr 9 12:55:00 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5D0516A400 for ; Mon, 9 Apr 2007 12:55:00 +0000 (UTC) (envelope-from freeman@vault13.org) Received: from vault13.org (ip246-74.baltnet.ru [217.168.74.246]) by mx1.freebsd.org (Postfix) with ESMTP id C2FF513C4C5 for ; Mon, 9 Apr 2007 12:54:59 +0000 (UTC) (envelope-from freeman@vault13.org) Received: from vault.net.vault13.org (ip2-13.net.vault13.org [192.168.2.13]) by vault13.org (8.13.6/8.13.6) with ESMTP id l39D2MW5093273 for ; Mon, 9 Apr 2007 17:02:22 +0400 (MSD) (envelope-from freeman@vault13.org) Received: from ip2-13.net.vault13.org (localhost [127.0.0.1]) by vault.net.vault13.org (8.13.6/8.13.6) with ESMTP id l39CsoUZ013271 for ; Mon, 9 Apr 2007 16:54:50 +0400 (MSD) (envelope-from freeman@ip2-13.net.vault13.org) Received: (from freeman@localhost) by ip2-13.net.vault13.org (8.13.6/8.13.6/Submit) id l39Csjfm013270 for freebsd-current@freebsd.org; Mon, 9 Apr 2007 16:54:45 +0400 (MSD) (envelope-from freeman) Date: Mon, 9 Apr 2007 16:54:45 +0400 From: banshee To: freebsd-current@freebsd.org Message-ID: <20070409125445.GA875@vault.net.vault13.org> Mail-Followup-To: banshee , freebsd-current@freebsd.org References: <20070406025700.GB98545@garage.freebsd.pl> <86k5wo55s0.fsf@dwp.des.no> <200704081910.42852.max@love2party.net> <20070408185312.GY63916@garage.freebsd.pl> <20070409010703.GA74547@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <20070409010703.GA74547@garage.freebsd.pl> X-PGP-Key-URL: http://vault13.org/home/gpg-pub-key.asc X-Spam-Status: No, score=-1.4 required=2.0 tests=ALL_TRUSTED autolearn=failed version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on vault13.org Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 12:55:00 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, that is great news! But is it possible to use zfs + gbde? I have the following configuration: rc.conf: gbde_autoattach_all=3D"yes" gbde_devices=3D"ad0s1g" fstab: /dev/ad0s1g.bde /home ufs rw 2 2 So, i have to just type a passphrase at boot time, and in this case, zfs m= ust be on ad0s1g.bde? On Mon, Apr 09, 2007 at 03:07:03AM +0200, Pawel Jakub Dawidek wrote: > On Sun, Apr 08, 2007 at 08:53:12PM +0200, Pawel Jakub Dawidek wrote: > > fzap_upgrade() changes type from 'zap_micro' to 'zap_fat' and union is > > used for this (see > > sys/contrib/opensolaris/uts/common/fs/zfs/sys/zap_impl.h), that's why we > > see this trash: > >=20 > > zap_num_entries_mtx =3D {lock_object =3D {lo_name =3D 0x70000
, > > lo_type =3D 0x0, lo_flags =3D 2155822976, lo_witness_data =3D {lod_list= =3D {stqe_next =3D 0x0}, > > lod_witness =3D 0x0}}, sx_lock =3D 1, sx_recurse =3D 0}, > >=20 > > I already use kmem_zalloc() (note _z_) for zap allocation in > > zap_micro.c, so Max is right, that we have to clear this structure here. > >=20 > > I'm quite tired of tracking such problems, because our mechanism for > > detecting already initialized locks is too simple (based on one bit), so > > I'd prefer to improve it, or just add bzero() to mutex_init(). >=20 > I just committed a fix. Now I do 13 bits check for already initialized > locks detection instead of standard 1 bit check. Could you repeat your > test? >=20 > --=20 > Pawel Jakub Dawidek http://www.wheel.pl > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! --=20 Contra vim mortis, non est medicaments... --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iQIVAwUBRho3kYklF6acR4MmAQKF3RAAjIAHnqvZ25o3yyI5IPMPzMDUqaxT6S30 0dg9PrL2DZyclfDTXpJemePjmiCw1ebfvaZQ/hOtORcBz7YKcDVOHHGhV+Xo6yW7 yyPYTy+pTnv9bDu2agE4gs7Mr3NDXc+6x/EgbTr7Tcvk/7hAbONlcre1k4cqZscd 9FYCMUPa+ijRMOkaVdR1yezgvRMFvX+jbsf2gKkilZ2ywYEnwNTmG1RwcWyFDXOo BTP03JFgerHYk1SCEEQy/NETFWY1d9ifX/Emyu4WcAY9Uxd93+7RmfUMBKwZNCaV x103YBzjZexQCFHAGkxEzE4O/Jb4M3Nzz84SdJeiXowlcvwEcU8pI6OmN5Xt4dYh 7D9GJZMBXy1UGnhAZMenpoEpbfWKv8hpDhCcF6VNoTKYC/Y+DT0CZusibybxVnv4 getEtfWdBG1c5rI7/RlJMtEMWrvrZ8u3ZL4bCz+F6GnwEev+psrm8PDu2owHrV3j T9iAA3H6jz8p9+BmOUJJQTs/laCK4xWqB9yBcTiLNvQXG0D6fzWhEhuN7LL0Km79 UhYl9VMdePFyzuYmUtbF6Uq9lu1bE5WPOuwaRciwX/ofD2fzWBbSNpUIJga6UYkI UsODVesMgHHL4ZdnFX16fWryH3EzxQedgNTrl9SewnoqG+CUoNzfn4keTXsY1OjP I3XPeeCYp0g= =cSof -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--