> > hm, i cant see any place where we have (!Mapped && Uptodate) in pre4. We
> > have (!Mapped && !Uptodate), but thats normal.
>
> Look at block_read_full_page() - when it sees a zero return from bmap, it
> will clear the block and mark it up-to-date (but never set it Allocated).
oh, i see. (i was used to setting this in the fs, this is why i missed it)
I think encoding holes in this way is bad, it will prevent legitimate uses
of the very same bit-combination: (!Mapped && Uptodate) will be useful if
we'll ever do 'delayed allocation' of filesystem blocks, it will represent
pretty ordinary blocks which are not yet mapped to the filesystem.
-- mingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/