Re: [patch] fix the ext3 data=journal unmount bug

From: Stephen C. Tweedie (sct@redhat.com)
Date: Fri Dec 06 2002 - 16:22:53 EST


Hi,

On Fri, 2002-12-06 at 20:34, Chris Mason wrote:

> The bulk of the sync(2) will be async though, since most of the io is
> actually writing dirty data buffers out. We already do that in two
> stages.

Not with data journaling. That's the whole point: the VFS assumes too
much about where the data is being written, when.

> For 2.5, if an FS really wanted a two stage sync for it's non-data
> pages

But it's data that is the problem. For sync() semantics,
data-journaling only requires that the pages have hit the journal. For
umount, it is critical that we complete the final writeback before
destroying the inode lists.

Cheers,
 Stephen
-
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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:28 EST