Re: The INN/mmap bug

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Sep 18 2000 - 10:52:12 EST


On Mon, 18 Sep 2000, Chris Mason wrote:
>
> ReiserFS depends on the buffer head up to date flag being correct when it
> is sent to get_block. When unpacking the tail, we have to know if the
> packed data on disk should be copied over the data in the page.
>
> So, the above should work for us if you tested Page_Uptodate before testing
> buffer_mapped.

Can't be done.

A up-to-date but non-mapped buffer is a perfectly valid thing to have -
it's just a hole.

So we can't mark the buffer uptodate before marking it mapped - that would
be a totally different state.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:17 EST