Re: Can O_SYNC be implemented by using fsync?

From: Andi Kleen (
Date: Mon May 15 2000 - 16:10:29 EST

Pavel Machek <> writes:
> >
> > It is just very very inefficient to do it this way, especially on file systems
> > that don't use page sized blocks. Fsync does a lot of work while
> > searching
> Well, maybe O_SYNC is so rare that slowdown might be acceptable.

O_SYNC is used in user space journaling (e.g. in databases). That
may be rare, but is definitely performance critical :-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:26 EST