Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 16:46:29 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Konstantin Belousov <kostikbel@gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/s6yaI4Sz9U7Z+FHVDdBD4MO
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Fabian Keil <freebsd-listen@fabiankeil.de> wrote:

> Konstantin Belousov <kostikbel@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032c853.75fe0b19>