From owner-svn-src-stable-8@FreeBSD.ORG Fri Mar 11 19:50:51 2011 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8495D1065672; Fri, 11 Mar 2011 19:50:51 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 008458FC0C; Fri, 11 Mar 2011 19:50:50 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p2BJolnj082014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Mar 2011 21:50:47 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p2BJokJh027683; Fri, 11 Mar 2011 21:50:46 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p2BJokCY027682; Fri, 11 Mar 2011 21:50:46 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 11 Mar 2011 21:50:46 +0200 From: Kostik Belousov To: Andriy Gapon Message-ID: <20110311195046.GQ78089@deviant.kiev.zoral.com.ua> References: <201103111927.p2BJRVu3091029@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aaUKsgtkw/mqWK8Q" Content-Disposition: inline In-Reply-To: <201103111927.p2BJRVu3091029@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org Subject: Re: svn commit: r219526 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 19:50:51 -0000 --aaUKsgtkw/mqWK8Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 11, 2011 at 07:27:31PM +0000, Andriy Gapon wrote: > Author: avg > Date: Fri Mar 11 19:27:31 2011 > New Revision: 219526 > URL: http://svn.freebsd.org/changeset/base/219526 >=20 > Log: > use even larger stack size for ZFS txg_sync_thread > =20 > While the stack size was larger than the default stack size on i386, it > was smaller than the default stack size on amd64 and apparently that > wasn't enough. So, bump the size to 4 pages. Upcoming ZFSv28 code uses > 8 pages for this stack size. > =20 > This is a direct commit to stable/8. > =20 > PR: kern/154681 > Discussed with: pjd >=20 > Modified: > stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c >=20 > Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c Fri Mar= 11 19:21:42 2011 (r219525) > +++ stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c Fri Mar= 11 19:27:31 2011 (r219526) > @@ -146,7 +146,7 @@ txg_sync_start(dsl_pool_t *dp) > * 32-bit x86. This is due in part to nested pools and > * scrub_visitbp() recursion. > */ > - tx->tx_sync_thread =3D thread_create(NULL, 12<<10, txg_sync_thread, > + tx->tx_sync_thread =3D thread_create(NULL, 16<<10, txg_sync_thread, > dp, 0, &p0, TS_RUN, minclsyspri); > =20 > mutex_exit(&tx->tx_sync_lock); What about architectures where PAGE_SIZE !=3D 4096 ? We have ptoa() macro. --aaUKsgtkw/mqWK8Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk16fRYACgkQC3+MBN1Mb4gi7QCg0sJ2PyZ/Du7929rnHMao1uVl Z1UAoKPEFlJlJDayywH0I0tkb2giKM7u =9Efe -----END PGP SIGNATURE----- --aaUKsgtkw/mqWK8Q--