lkml.org 
[lkml]   [1999]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: XFS and journalling filesystems
Hi,

On Tue, 01 Jun 1999 02:06:09 -0700, Dan Koren
<dkoren@cthulhu.engr.sgi.com> said:

> This is not a problem in page cache systems like Irix, Solaris or
> SVR4 (UnixWare).

and in Linux. The fact that there is a buffer cache used for some parts
of the write path doesn't stop us keeping the page cache consistent at
all times. In 2.3, the two paths will use the same memory anyway.

> File data is kept in the page cache, not in the buffer cache, and the
> same page(s) are mapped or accessed by all the processes that access a
> file. If a process writes to a file the new data becomes visible to
> all readers of the file as soon as the write system call has
> completed.

Agreed, that's what is required by Unix file semantics. The
cache-to-disk synchronisation semantics are much more relaxed. Lazy
batching of the metadata transactions on disk is perfectly legal on
Unix.

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.096 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site