This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add SYNC_FILE_RANGE_WRITE_AND_WAIT from Linux 5.2 to bits/fcntl-linux.h
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 07 Aug 2019 18:52:40 +0200
- Subject: Re: Add SYNC_FILE_RANGE_WRITE_AND_WAIT from Linux 5.2 to bits/fcntl-linux.h
- References: <alpine.DEB.2.21.1908071646510.11487@digraph.polyomino.org.uk>
* Joseph Myers:
> +/* SYNC_FILE_RANGE_WRITE_AND_WAIT ensures all pages in the range are
> + written to disk before returning. */
> +# define SYNC_FILE_RANGE_WRITE_AND_WAIT (SYNC_FILE_RANGE_WRITE \
> + | SYNC_FILE_RANGE_WAIT_BEFORE \
> + | SYNC_FILE_RANGE_WAIT_AFTER)
This matches the kernel definition. Please commit.
Thanks,
Florian