Re: Can O_SYNC be implemented by using fsync?

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


Hi,

On Mon, May 15, 2000 at 08:05:26PM -0700, Dan Kegel wrote:
>
> On a related note-
> I'm planning on using raw disk access for my own user-level
> stable queue (yes, I'm rolling my own MQ-Series-like stuff, yech).
> I gather from
> http://www.uwsg.iu.edu/hypermail/linux/kernel/9910.2/0930.html
> that this is already in 2.3.
> The question is - when write() returns, what has really happened?

It is absolutely guaranteed to have been written to persistent
storage (unless you've got a disk configured with write-behind,
which lies about write completion).

--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