Messages in this thread |  | | Date | Mon, 18 Sep 2000 08:52:12 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: The INN/mmap bug |
| |
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/
|  |