Re: [PATCH] raw: fsync method is now required
From: Christoph Hellwig
Date: Mon Apr 05 2010 - 16:43:18 EST
On Mon, Apr 05, 2010 at 01:39:02PM -0700, Andrew Morton wrote:
> So if you run fsync() against a /dev/rawX fd you get -EINVAL? erk.
> > We have two options: fix it or remove the raw driver completely. I'm happy
> > to do either, the fact this has been broken for so long suggests it is
> > rarely used.
> Well. It shows that fsync() is rarely used.
The new O_SYNC implementation uses fsync, so O_SYNC users are also
affected now. Still shows that either one is relatively rarely used..
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/