Re: Dump corrupts ext2?

Doug McNaught (doug@wireboard.com)
10 Oct 2001 19:55:16 -0400


Andreas Dilger <adilger@turbolabs.com> writes:

> On Oct 10, 2001 19:11 -0400, Doug McNaught wrote:
> > I'm pretty sure this is because dump reads the block device directly
> > (which is cached in the buffer cache), while the file data for cached
> > files lives in the page cache, and the two caches are no longer
> > coherent (as of 2.4).
>
> In Linus kernels 2.4.11+ the block devices and filesystems all use the
> page cache, so no more coherency issues.

You're right, of course. But for most of the lifetime of 2.4 the
above was true...

> Also, I don't think this ever had the potential to corrupt the filesystem,
> but maybe make a slightly bad backup.

Right, might corrupt the dump, but shouldn't hurt the filesystem.

-Doug

-- 
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863
-
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/