GJournal (hopefully) final patches.
Craig Boston
craig at xfoil.gank.org
Thu Aug 10 19:19:11 UTC 2006
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;
}
More information about the freebsd-fs
mailing list