Re: Filling holes in ext2

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 23 Aug 2001 20:23:42 +0100 (BST)


> The problem is that the on-disk metadata now says that that disk block
> is part of the file. So as the page is not up-to-date, the next read
> operation will go to the disk and fetch that block of garbage into the
> page cache.

So in actual fact the bug is the file system committing metadata too early
from prepare not commit

Alan
-
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/