Re: Can O_SYNC be implemented by using fsync?

From: Andi Kleen (ak@suse.de)
Date: Mon May 15 2000 - 17:10:29 EDT

  • Next message: Jeff V. Merkey: "Re: Can O_SYNC be implemented by using fsync?"

    Pavel Machek <pavel@suse.cz> 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 :-)

    -Andi

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Mon May 15 2000 - 16:42:00 EDT