Re: msync() behaviour broken for MS_ASYNC, revert patch?

From: Andrew Morton
Date: Fri Feb 10 2006 - 00:17:37 EST


Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
>
> If you want to start the IO *now* without waiting on it, call msync(MS_ASYNC)
> If you don't want to start the IO now, that's really easy, do nothing.
> If you want to start the IO now and also wait for it to finish, call msync(MS_SYNC)

I've already explained the problems with the start-io-in-MS_ASYNC approach.

> Presently, the first option is unavailable.

We need to patch the kernel either way. There's no point in going back to
either the known-problematic approach or to something half-assed.
-
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/