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