Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 14:28:44 +1100
From:      David N <davidn04@gmail.com>
To:        "Pedro F. Giffuni" <giffunip@tutopia.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Plans for Logged/Journaled UFS
Message-ID:  <4d7dd86f0912211928y78ce91ect8b86dc1ef4a8d0d1@mail.gmail.com>
In-Reply-To: <240049.46806.qm@web113517.mail.gq1.yahoo.com>
References:  <712903.15604.qm@web113517.mail.gq1.yahoo.com> <3612709F-15CA-4A59-86B1-2674BAA2936D@gmail.com> <240049.46806.qm@web113517.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/12/22 Pedro F. Giffuni <giffunip@tutopia.com>:
> ----- Original Message ----
>
>>
>> On Dec 20, 2009, at 8:37 PM, Pedro F. Giffuni wrote:
>>
>> > Just wondering...
>> >
>> > What's wrong with gjournal(8) ?
>> >
> ...
>>
>> gjournal(8) journals everything, that is all data and metadata are journaled.
>> Which can help with random writes, but essentially cuts linear write throughput
>> in half.
>>
>> Regards,
>> Niki Denev
>
>
> I recall ext3fs also journals everything by default and still is very popular.
>
> I am asking because I've been playing a bit with Aditya's ext2fs (mostly UFS1)
> and one of the ideas there is adding gjournal support instead of starting from
> scratch.
>
> Pedro..
>
>
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>

Hi,

Ext3 by default only journals the meta-data
http://en.wikipedia.org/wiki/Ext3

>From http://wiki.archlinux.org/index.php/Ext3_Filesystem_Tips
"By default, ext3 partitions mount with the 'ordered' data mode. In
this mode, all data is written to the main filesystem and its metadata
is committed to the journal, whose blocks are logically grouped into
transactions to decrease disk I/O"

You have to enable full journalling by setting the option in fstab to
journal everything.

Regards
David N



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0912211928y78ce91ect8b86dc1ef4a8d0d1>