--On 09/18/00 08:52:12 -0700 Linus Torvalds <[EMAIL PROTECTED]> wrote:
>
>
> 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.
>
Ok, I can also check to see if the page is up to date during the tail
conversion. Mostly I wanted to make everyone aware that nastiness like
this exists, and that I haven't found a clean solution yet.
-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/