Re: adding proper O_SYNC/O_DSYNC, was Re: O_DIRECT and barriers

From: Trond Myklebust
Date: Fri Aug 28 2009 - 17:16:37 EST


On Fri, 2009-08-28 at 17:08 -0400, Christoph Hellwig wrote:
> #define O_SYNC (O_FULLSYNC|O_DSYNC)
>
> - during the normal merge window I will add a real implementation for
> for O_FULLSYNC and O_RSYNC
>
> P.S. better naming suggestions for O_FULLSYNC welcome

Basically you are just ensuring that the metadata changes are being
synced together with the data changes, so how about O_ISYNC (inode
sync)?


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