lkml.org 
[lkml]   [1999]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 2.3.29: ramdisk still broken.
Hi,

On Thu, 25 Nov 1999 06:17:39 +0100 (CET), Mike Galbraith
<mikeg@weiden.de> said:

> The way I see it, the ramdisk used to work by making it's data persistent
> in the buffer cache. Today, data doesn't live in the buffer cache, it
> lives in the page cache. Ergo, the task at hand is to figure out how
> to make data in the page cache persistent rather than copying that data
> back and forth.

No. It needs to do more than just behave as an in-memory filesystem: it
needs to behave like a block device. That means that buffer cache
aliases of page cache data still need to work: you need to be able to
run dump or fsck on the ramdisk of a mounted filesystem, for example.
Using a ramdisk to test fs utilities is a legitimate use, and if you
move the ramdisk out of the buffer cache it will just break this (as
well as polluting the page cache semantics).

--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:55    [W:0.104 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site