Re: Can O_SYNC be implemented by using fsync?

From: Stephen C. Tweedie (sct@redhat.com)
Date: Thu May 18 2000 - 02:44:04 EST


Hi,

On Mon, May 15, 2000 at 07:05:55PM -0600, Jeff V. Merkey wrote:
>
> Also, Van mentioned the issue with double-caching. Since Oracle uses
> it's own cache, the current buffer cache implementation in Linux for
> O_SYNC obsolutley sucks for Oracle, since we will always be double
> buffering data. I mentioned to Alan having a directFS layer in Linux,
> where Oracle could talk to files in a way that would completely by-pass
> the Linux buffer cache. Given the current state of Linux and the file
> systems, this may be very difficult to support.

I will do O_DIRECT for Linux. It's not massively hard, given the
current VFS infrastructure. The VM support necessary for zero-copy
I/O is already there for the raw device I/O code.

--Stephen

-
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 : Tue May 23 2000 - 21:00:14 EST