From owner-svn-src-all@freebsd.org Mon Aug 3 14:47:58 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C1A69B2D36 for ; Mon, 3 Aug 2015 14:47:58 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D44073 for ; Mon, 3 Aug 2015 14:47:57 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [84.44.210.35] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZMH1l-00060Z-Kf; Mon, 03 Aug 2015 16:47:45 +0200 Date: Mon, 3 Aug 2015 16:46:29 +0200 From: Fabian Keil To: Konstantin Belousov Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r286223 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <1032c853.75fe0b19@fabiankeil.de> In-Reply-To: <4b278e01.11dc4bd9@fabiankeil.de> References: <201508030934.t739YAkT026668@repo.freebsd.org> <20150803094730.GA24698@zxy.spb.ru> <55BF431E.3020601@freebsd.org> <2757800.HIDNx1G49O@overcee.wemm.org> <20150803111942.GB2072@kib.kiev.ua> <55BF557B.60009@multiplay.co.uk> <20150803120359.GC2072@kib.kiev.ua> <4b278e01.11dc4bd9@fabiankeil.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/s6yaI4Sz9U7Z+FHVDdBD4MO"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 14:47:58 -0000 --Sig_/s6yaI4Sz9U7Z+FHVDdBD4MO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > Konstantin Belousov wrote: >=20 > > On Mon, Aug 03, 2015 at 12:50:19PM +0100, Steven Hartland wrote: > > > For this change I don't want to get into fixing the thread0 stack siz= e,=20 > > > which can be done later, just > > > to provide a reasonable warning to the user that smaller values could= =20 > > > cause a panic. > >=20 > > Hmm, is it limited to the thread0 only ? I.e., would only increasing > > the initial thread stack size be enough to boot the kernel ? The zfs > > threads do request larger stack size, I know this. > >=20 > > Can somebody test the following patch in the i386 configuration which > > does not boot ? >=20 > Will do. With the patch I was able to boot from a three-disk raidz1 pool without having to set KSTACK_PAGES=3D4: # sysctl -a | grep stack kern.usrstack: 3217027072 kern.kstack_pages: 2 kern.features.stack: 1 kern.stackprot: 7 kern.elf32.nxstack: 0 vm.kstacks: 554 vm.kstack_cache_size: 128 security.bsd.stack_guard_page: 1 # zpool status rpool pool: rpool state: ONLINE scan: scrub repaired 0 in 0h3m with 0 errors on Mon Aug 3 16:25:21 2015 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gpt/rpool-ada1.eli ONLINE 0 0 0 gpt/rpool-ada2.eli ONLINE 0 0 0 gpt/rpool-ada3.eli ONLINE 0 0 0 I intend to test a couple of additional configurations tomorrow, but so far this is looking very promising. Fabian --Sig_/s6yaI4Sz9U7Z+FHVDdBD4MO Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlW/fsIACgkQBYqIVf93VJ3mZQCfcL7bl59n+3oCtj7S4utWHAgr 5S0AoMUiE8/iT9jmom2fBtmv0aA/1DxR =DhdD -----END PGP SIGNATURE----- --Sig_/s6yaI4Sz9U7Z+FHVDdBD4MO--