Re: Can O_SYNC be implemented by using fsync?

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


Hi,

On Tue, May 16, 2000 at 09:29:09AM +0200, Ulrich Kunitz wrote:
>
> There are two options:
>
> (1) queuing pages in an upper layer
> (2) introduce a dirty page list for an inode

When I did this originally, I did:

  (3) introduce a dirty buffer list for each inode

The existing commit_write code writes through to the buffer cache,
creating dirty buffers which alias the data and mark then for
write-behind to disk. It's not hard to place those on a per-inode
list as you go.

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