Re: Poor floppy performance in kernel 2.4.10

Alexander Viro (viro@math.psu.edu)
Sat, 27 Oct 2001 15:19:48 -0400 (EDT)


On Sat, 27 Oct 2001, Alain Knaff wrote:

> And "mapping" itself seems to point to i_data of the device's inode
> structure (not the device entry's inode, but the device's itself).

> Which means that if the inode is put (all references to the block
> device closed), and later the same major/minor is reopened, it may

Stop here. bdev->bd_inode is destroyed only when bdev is destroyed.
If we make block_device long-living (i.e. they stay around until all
pages are evicted from cache _or_ device gets unregistered) ->bd_inode
will follow.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/