lkml.org 
[lkml]   [2001]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:13    [W:0.042 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site