lkml.org 
[lkml]   [2000]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1



On Sat, 15 Jan 2000, Andre Hedrick wrote:

> On Sat, 15 Jan 2000, Linus Torvalds wrote:
>
> > A variation on this is why the partitioning code does something along the
> > lines of
> >
> > bh = bread(..)
> > ...
> > bforget(bh);
> >
> > (ie uses "bforget()" instead of "brelse()").
> >
> > So you actually shouldn't see that failure mode you're talking about. But
> > hey, who knows.
>
> Agree, but why should it not be a requirement to relearn about the device
> everytime it is opened from user-land? I am assuming events like
> fdisk/cfdisk and load/unload events of media.

Hey, the point being exactly that we might get a stale stuff in buffer
cache since the previous time. And yes, looks like bforget() is in all
places where it ought to be.

> Since one of the goals with CDR/CD-RW's is to be able to perform a
> multi-mount of sessions that react like drive partitions.
>
> This will make a mess, since nothing in the code (that I know of) currents
> entertains this possiblity.

Details, please?


-
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.076 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site