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

Linus Torvalds (torvalds@transmeta.com)
Sun, 11 Nov 2001 10:56:00 -0800 (PST)


On Fri, 9 Nov 2001, Alexander Viro wrote:
> >
> > 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).

Again - why do you actually care?

If we end up removing the module, we'll call "unregister_blockdev()" or
whatever, which in turn gets rid of _all_ pages, and that that time we
will correctly get rid of buffers.

And before you remove the module I see no advantage to have any guarantees
of quiescence and removing the buffer heads. I only see extra code that
doesn't seem to have any real purpose..

Linus

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