[lkml]   [1999]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Removable media bug
BROWN Nick <> 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.

-- (Fuzzy Fox) || "Nothing takes the taste out of peanut
sometimes known as David DeSimone || butter quite like unrequited love." || -- Charlie Brown
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean