flush on close
Eno Thereska
eno at andrew.cmu.edu
Thu Sep 11 11:32:14 PDT 2003
Doung,
Thanks for the quick reply. I am using the default options
(noasync, which according to the man pages means that
metadata I/O should be done synchronously, while
data I/O is asynchronous).
Unfortunately, with any of these options (nosync, async or using
soft updates), I think the flush-on-close semantics is an orthogonal
issue. For example, with the async option, with the flush-on-close
semantics, data and metadata are flushed.
Please let me know if you have any more hints on this.
Thanks
Eno
On Thu, 11 Sep 2003, Doug White wrote:
> Remove -fs. Don't crosspost, please.
>
> On Wed, 10 Sep 2003, Eno Thereska wrote:
>
> > In FreeBSD 4.4, I am noticing a huge number of calls
> > to ffs_fsync() (in /sys/ufs/ffs/ffs_vnops.c)
> > when running a benchmark like Postmark.
>
> Were you using softupdates, or the sync or async mount options?
>
> I believe this is correct (and safe) behavior for the default case.
>
> --
> Doug White | FreeBSD: The Power to Serve
> dwhite at gumbysoft.com | www.FreeBSD.org
>
>
More information about the freebsd-hackers
mailing list