Re: [PATCH] Add ext3 data=guarded mode

From: Mike Galbraith
Date: Fri Apr 17 2009 - 07:05:12 EST


On Thu, 2009-04-16 at 15:42 -0400, Chris Mason wrote:
> Hello everyone,
>
> Here's an updated (v4) patch for ext3 data=guarded mode. The first two
> patches in the series are unchanged, and it looks like Linus pulled them
> in this morning.
>
> This version fixes the bug Mike Galbraith hit. The problem was with
> writes to the last block in the file that made the file bigger but
> didn't actually add a new block. Since the block wasn't new, it
> wouldn't get sent through the guarded code and the on disk i_size wasn't
> always updated.

FWIW, I booted my backup fs drive mounted data=guarded, and have been
hammering it steadily since 6 A.M. with no hint of trouble.

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/