Re: Can O_SYNC be implemented by using fsync?

From: Jeff V. Merkey (jmerkey@timpanogas.com)
Date: Mon May 15 2000 - 18:57:30 EST


Chris Wedgwood wrote:
>
> Oracle uses it's own cache, so this shoud be OK on Linux.
>
> That's not the issue -- the issue is when Oracle writes to disk, it
> expects the data to hit the platters before the calls returns,
> without this you cannot ensure the data integrity.
>
> When it writes, it's no differnt than the buffer cache flushing
> dirty buffers in the background.
>
> Except it expects the writes to occur NOW and IN ORDER. Without this,
> recovery after a failure isn't possible.

So what's wrong with calling fsync() after write() then for Oracle --
this should work -- yes?

Jeff

>
> --cw

-
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 - 21:00:27 EST