Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2006 06:37:06 -0700 (PDT)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: Journaling UFS with gjournal.
Message-ID:  <20060619133706.63795.qmail@web30302.mail.mud.yahoo.com>
In-Reply-To: <20060619131101.GD1130@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Pawel Jakub Dawidek <pjd@FreeBSD.org> wrote:
> 2. If we have file system, synchronize it.
> 3. Mark file system as clean.
> 4. Block all write requests to the file system.
>
Shouldn't we do 4. before 2.?

Do we write _new_ blocks of a file via the journal or directly to the file
system (I mean: If we have a new file, that grows sequentially from 0 bytes to
1GB, it would save some disc access, if we didn't write the data to the
journal)?

I like the BIO_FLUSH idea...

-Arne


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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