Date: Thu, 10 Aug 2006 14:19:09 -0500 From: Craig Boston <craig@xfoil.gank.org> To: Eric Anderson <anderson@centtech.com> Cc: freebsd-fs@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, freebsd-geom@FreeBSD.org Subject: Re: GJournal (hopefully) final patches. Message-ID: <20060810191908.GA32326@nowhere> In-Reply-To: <44DB83E9.2090402@centtech.com> References: <20060808195202.GA1564@garage.freebsd.pl> <20060810184702.GA8567@nowhere> <44DB83E9.2090402@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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;
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060810191908.GA32326>
