From owner-svn-src-head@freebsd.org Tue Feb 7 22:57:17 2017 Return-Path: Delivered-To: svn-src-head@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 18A11CD5CD8; Tue, 7 Feb 2017 22:57:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8556B0; Tue, 7 Feb 2017 22:57:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 1D75D10A7B9; Tue, 7 Feb 2017 17:57:09 -0500 (EST) From: John Baldwin To: src-committers@freebsd.org Cc: svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r313409 - head/sys/geom/journal Date: Tue, 07 Feb 2017 14:57:06 -0800 Message-ID: <74328668.ma5t6WLkG7@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: <201702072246.v17Mk0Ac015659@repo.freebsd.org> References: <201702072246.v17Mk0Ac015659@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Tue, 07 Feb 2017 17:57:09 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2017 22:57:17 -0000 On Tuesday, February 07, 2017 10:46:00 PM John Baldwin wrote: > Author: jhb > Date: Tue Feb 7 22:45:59 2017 > New Revision: 313409 > URL: https://svnweb.freebsd.org/changeset/base/313409 > > Log: > Defer startup of gjournal switcher kproc. > > Don't start switcher kproc until the first GEOM is created. > > Reviewed by: pjd > MFC after: 1 month > Differential Revision: https://reviews.freebsd.org/D8576 Originally this triggered a panic with EARLY_AP_STARTUP, but that was later resolved by permitting callouts during early boot for !thread0. However, this is still useful to avoid creating an unused kthread on a system that doesn't use gjournal, so I committed it for that reason. -- John Baldwin