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

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Nov 09 2001 - 20:11:10 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/



This archive was generated by hypermail 2b29 : Thu Nov 15 2001 - 21:00:24 EST