Re: 2.6.29 -mm merge plans

From: Andrew Morton
Date: Tue Jan 06 2009 - 18:12:08 EST


(cc added)

On Tue, 6 Jan 2009 17:57:44 -0500
Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> On Mon, Jan 05, 2009 at 12:43:00AM -0800, Andrew Morton wrote:
> > fs-sys_sync-fix.patch
>
> I'm not sure this is a good idea. Concurrent syncs are a bad idea
> to start with and we should just synchronyze do_sync completely.
> sync_filesystems as one of the main components of do_sync already
> is synchronized in that way, and taking that to a higher level would
> get rid of all the worries about concurrent syncs.

Yes, single-threading sys_sync() would fix the problem which that patch
addresses.

However there are a lot of performance and correctness issues around
sys_sync()-versus-fsync(), etc for which such a simple fix won't be
acceptable.

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