Messages in this thread | | | Date | Sun, 16 Jan 2000 01:47:11 -0500 (EST) | From | Alexander Viro <> | Subject | Re: [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/
| |