lkml.org 
[lkml]   [1999]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Removable media bug
BROWN Nick <Nick.BROWN@coe.int> wrote:
>
> The saving to be made by trying to cache the data across a umount of a
> floppy, seems trivial compared to the risk involved. The vast majority of
> the time, the next floppy will be different.

You are thinking of only one case. Yes, if you only mount/umount
floppies, this makes sense. But what if you use a different access
method, such as mtools? Each time the mtools programs are run, they
need to re-access the same information on the disk, to examine the FAT
tables, directories, etc. Caching this information is a big win. But
the block device is opened/closed on every run of the program, so
relying on the change-line to invalidate the buffers makes sense.

--
fox@dallas.net (Fuzzy Fox) || "Nothing takes the taste out of peanut
sometimes known as David DeSimone || butter quite like unrequited love."
http://www.dallas.net/~fox/ || -- Charlie Brown
-
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:51    [from the cache]
©2003-2011 Jasper Spaans