lkml.org 
[lkml]   [2001]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] invalidate buffers on blkdev_put

On Mon, 24 Sep 2001, Alexander Viro wrote:
>
> OK, not exactly nay, but... What you are trying to do is a workaround
> for problem that can be solved in somewhat saner way. Namely, we can
> make getblk() return buffres backed by pages from device page cache.

I now have the patches for this, but I have to fix up fs/block_dev.c to
also honour the block size thing because otherwise the two are still not
in sync.

I'll send out a test-patch later this evening, I hope.

> It's solvable, but not obvious. It _does_ solve coherency problems between
> device page cache and buffer cache (thus killing update_buffers() and its
> ilk), but the last issue (new access path to page-private buffer_heads)
> may be rather nasty.

It's certainly solvable, but it is also certainly very fraught with tons
of small details. I'll be very happy if people end up looking through the
patches _very_ critically (and don't even bother testing them if you don't
have a machine where you can lose a filesystem or two).

Hopefully in another hour or two (but the first version is going to have
some ugly stuff in it still).

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:17    [W:0.095 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site