mirror_zfs/lib/libspl/include
George Wilson 2efea7c82c ZFS Reads may result in unneccesary calls to zil_commit
ZFS supports O_RSYNC for read operations and when specified will ensure
the same level of data integrity that O_DSYNC and O_SYNC provides for
writes. O_RSYNC by itself has no effect so it must be combined with
either O_DSYNC or O_SYNC. However, many platforms don't support O_RSYNC
and have mapped O_SYNC to mean O_RSYNC within ZFS. This is incorrect
and causes unnecessary calls to zil_commit. Only platforms which
support O_RSYNC should implement the zil_commit functionality in the
read code path.

Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes #8523
2019-03-22 13:09:11 -07:00
..
ia32 Remove autotools products 2012-08-27 11:47:44 -07:00
rpc config: better libtirpc detection 2019-03-02 16:19:05 -08:00
sys ZFS Reads may result in unneccesary calls to zil_commit 2019-03-22 13:09:11 -07:00
util cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
assert.h Fix ASSERT macros to not over-expand 2018-10-03 20:16:45 -07:00
atomic.h Fix spelling 2017-01-03 11:31:18 -06:00
devid.h Add support for devid and phys_path keys in vdev disk labels 2016-03-31 13:45:53 -07:00
libdevinfo.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libgen.h zpool import -d to specify device path 2018-01-26 10:49:46 -08:00
libshare.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
limits.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
locale.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Remove rwlock wrappers 2018-06-04 16:52:10 -07:00
statcommon.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdio.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stdlib.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
string.h Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
stropts.h Add linux libspl support 2010-08-31 13:41:59 -07:00
thread.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
tzfile.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
ucred.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
umem.h Update build system and packaging 2018-05-29 16:00:33 -07:00
unistd.h Retire HAVE_IOCTL_* configure checks 2014-08-28 07:45:54 -07:00
zone.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00