Michael Bacarella wrote:
>
> On Sun, 28 May 2000, Warren Young wrote:
>
> > Well, something occurred to me just now: wouldn't journalling wreck this
> > pretty picture? With journalling, all disk writes have to go
> > immediately to the disk instead of waiting in memory until the kernel
> > gets bored and flushes buffers to disk.
>
> A logging filesystem will not make the buffer cache go away.
Of course not, but you can use a cache as a write-through buffer or a
write-back buffer. If you send writes immediately to disk --
write-through -- a file that's created and shortly thereafter deleted
will actually go to disk. Currently, it never hits the disk.
Write-through doesn't eliminate the usefulness of the cache, but it does
make a memfs more attractive for /tmp.
-- = Warren Young, maintainer of the Winsock Programmer's FAQ at: = http://www.cyberport.com/~tangent/programming/winsock/ = = ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m- 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 : Wed May 31 2000 - 21:00:19 EST