From owner-freebsd-fs@FreeBSD.ORG Thu Aug 10 19:19:11 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E6116A4DD; Thu, 10 Aug 2006 19:19:11 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3590343D4C; Thu, 10 Aug 2006 19:19:10 +0000 (GMT) (envelope-from craig@xfoil.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id 99214117D0; Thu, 10 Aug 2006 14:19:09 -0500 (CDT) Date: Thu, 10 Aug 2006 14:19:09 -0500 From: Craig Boston To: Eric Anderson Message-ID: <20060810191908.GA32326@nowhere> References: <20060808195202.GA1564@garage.freebsd.pl> <20060810184702.GA8567@nowhere> <44DB83E9.2090402@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44DB83E9.2090402@centtech.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@FreeBSD.org, Pawel Jakub Dawidek , freebsd-geom@FreeBSD.org Subject: Re: GJournal (hopefully) final patches. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 19:19:11 -0000 On Thu, Aug 10, 2006 at 02:07:21PM -0500, Eric Anderson wrote: > The size of the journal is related to the write speed of the journeled > device and the journal swap time (default 10 seconds). I was going to ask if that was theoretical max speed for the bus or physical write speed, but it appears that this is not (yet?) the case: sbin/geom/class/journal/geom_journal.c: if (jsize == -1) { /* * No journal size specified. 1GB should be safe * default. */ jsize = 1073741824ULL; } msize = g_get_mediasize(data); ssize = g_get_sectorsize(data); if (jsize + ssize >= msize) { gctl_error(req, "Provider too small for journalling. " "You can try smaller jsize (default is %jd).", jsize); return; }