Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 23:37:05 +0100
From:      "Ivan Voras" <ivoras@freebsd.org>
To:        "Max Laier" <max@love2party.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Question about file system checks
Message-ID:  <9bbcef730803281537k1051f3ffn59f7440318c11df5@mail.gmail.com>
In-Reply-To: <200803282316.34595.max@love2party.net>
References:  <47EBA3AB.40307@infracaninophile.co.uk> <47EC9245.6060200@infracaninophile.co.uk> <fsjp7l$4ov$1@ger.gmane.org> <200803282316.34595.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/03/2008, Max Laier <max@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.



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