lkml.org 
[lkml]   [2001]   [Nov]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 11 Nov 2001 10:56:00 -0800 (PST)
FromLinus Torvalds <>
SubjectRe: [CFT][PATCH] long-living cache for block devices
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/

\
 
 \ /
  Last update: 2005-03-22 12:13    [from the cache]
©2003-2008