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
..
2012-08-27 11:47:44 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:59 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2017-01-03 11:31:18 -06:00
2017-01-03 11:31:18 -06:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:59 -07:00
2018-05-29 16:00:33 -07:00
2010-08-31 13:41:59 -07:00
2013-12-18 16:46:35 -08:00
2016-09-20 10:07:58 -07:00
2017-08-14 10:36:48 -07:00
2016-11-29 14:34:33 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2013-12-18 16:46:35 -08:00
2010-08-31 13:41:59 -07:00
2018-05-29 16:00:33 -07:00
2017-08-09 15:31:08 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2010-08-31 13:41:59 -07:00
2013-12-18 16:46:35 -08:00
2014-08-13 10:35:00 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00