Question about file system checks
Ivan Voras
ivoras at freebsd.org
Fri Mar 28 15:37:06 PDT 2008
On 28/03/2008, Max Laier <max at love2party.net> wrote:
> Can you please give more details about your benchmark? It seems to me
> that the only thing you are measuring is how many files you managed to
> touch between the last sync(2) and plugging the power. This is not an
> interesting number.
I'd say it's mildly interesting, for a file server. :)
>What would be interesting is to stop the syncer,
> touch a known number of files and then pull the plug.
>
> But in the end it boils down to: There is fsync to build transactions -
> use it or else. If you find that you lose fsync'ed files, that's a
> reason for concern, of course.
You are right, of course. If I get the chance I'll redo the whole
thing with fsync.
More information about the freebsd-stable
mailing list