Re: ext3: slow symlink corruption on umount...

From: Arthur Jones
Date: Thu Oct 30 2008 - 17:34:29 EST


Hi Eric, ...

On Thu, Oct 30, 2008 at 11:03:49AM -0700, Eric Sandeen wrote:
> [...]
> Something is definitely racy here; in my simple testcase I get failures
> maybe 30-50% of the time...

Some more info: in the working case, the inodes are put
back on sb->s_dirty at then next ext3_sync_fs() call:

__fsync_super -> DQUOT_SYNC -> ext3_sync_fs -> log_wait_commit

In the failing case, journal_start_commit returns 0 in ext_sync_fs
and the inodes disappear into never-never land...

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