]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - include/builddefs.in
xfs_io: add MAP_SYNC support to mmap()
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 4 Jan 2018 19:58:29 +0000 (13:58 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 4 Jan 2018 19:58:29 +0000 (13:58 -0600)
commitdad796834cb930832a4de53cbd26fafcd01cd888
treee1695b8aa8e5e76fe71469b03dbb0e32c5692f34
parent9502da215bb8affebc968586c2d7b79693b04fb6
xfs_io: add MAP_SYNC support to mmap()

Add support for a new -S flag to xfs_io's mmap command.  This opens the
mapping with the (MAP_SYNC | MAP_SHARED_VALIDATE) flags instead of the
standard MAP_SHARED flag.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Suggested-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
configure.ac
include/builddefs.in
include/linux.h
io/Makefile
io/io.h
io/mmap.c
m4/package_libcdev.m4
man/man8/xfs_io.8