This is not a problem in page cache systems like Irix, Solaris or
SVR4 (UnixWare). 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. Also note that certain
OS's do read/write serialization in the VFS layer anyway, quite
independently of what file systms do underneath (I believe SVR4
and Solaris behave this way).
thx,
Dan Koren Dan.Koren@sgi.com
Engineering Manager, File Systems phone: (USA) 650-933-3678
Silicon Graphics, Inc. pager: (USA) 888-769-0874
1600 Amphiteatre Pkwy. M/S 08U-500 or dkoren_p@pager.sgi.com
Mountain View, CA 94043-1351 fax: (USA) 650-933-3542
-
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/