Journaling UFS with gjournal.

Craig Rodrigues rodrigc at crodrigues.org
Tue Jun 20 06:35:27 UTC 2006


On Mon, Jun 19, 2006 at 03:11:01PM +0200, Pawel Jakub Dawidek wrote:
> 	http://people.freebsd.org/~pjd/patches/gjournal.patch (for HEAD)
> 	http://people.freebsd.org/~pjd/patches/gjournal6.patch (for RELENG_6)

I would recommend that you not introduce a new MNT_GJOURNAL flag to 
<sys/mount.h>,
and that instead you just pass -o gjournal directly down into
nmount().  In kernel code, you can use vfs_flagopt()/vfs_getopt()
to determine if you have this mount option or not.
The mount(8) userland utility would not need any modifications,
since it just passes -o options down to nmount().

gjournal looks very interesting!
-- 
Craig Rodrigues        
rodrigc at crodrigues.org


More information about the freebsd-fs mailing list