Re: [CFT][PATCH] long-living cache for block devices

Alexander Viro (viro@math.psu.edu)
Fri, 9 Nov 2001 20:11:10 -0500 (EST)


On Fri, 9 Nov 2001, Linus Torvalds wrote:

>
> On Fri, 9 Nov 2001, Alexander Viro wrote:
> >
> > Logics looks so: upon the final close() we finish all pending
> > IO and destroy all buffer_heads for device.
>
> Why do yu care about destroying buffer-heads?
>
> You might as well leave them active, I don't see what you win from trying
> to get rid of them aggressively. They'll go away when the pages go away..

The simplest way to make sure that all IO is over (including readaheads).

-
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/