Files
mirror_zfs/module/zfs
Tom Caputi 1b66810bad Change os->os_next_write_raw to work per txg
Currently, os_next_write_raw is a single boolean used for determining
whether or not the next call to dmu_objset_sync() should write out
the objset_phys_t as a raw buffer. Since the boolean is not associated
with a txg, the work simply happens during the next txg, which is not
necessarily the correct one. In the current implementation this issue
was misdiagnosed, resulting in a small hack in dmu_objset_sync() which
seemed to resolve the problem.

This patch changes os_next_write_raw to be an array of booleans, one
for each txg in TXG_OFF and removes the hack.

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #6864
2018-02-02 11:44:53 -08:00
..
2017-11-18 14:08:00 -08:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2017-11-15 17:27:01 -08:00
2017-11-15 17:27:01 -08:00
2017-11-15 17:27:01 -08:00
2017-08-14 10:36:48 -07:00
2017-10-11 16:54:48 -04:00
2017-11-15 17:27:01 -08:00
2017-11-15 17:27:01 -08:00
2017-01-03 11:31:18 -06:00
2017-10-10 16:41:47 -07:00
2018-01-25 13:40:38 -08:00
2017-07-13 13:54:00 -04:00
2016-11-29 14:34:33 -08:00
2018-01-25 13:40:38 -08:00
2017-11-15 17:27:01 -08:00
2017-03-10 09:51:33 -08:00
2017-08-09 15:31:08 -07:00
2017-01-03 11:31:18 -06:00
2017-09-19 12:19:08 -07:00
2017-03-10 09:51:41 -08:00
2017-11-18 14:08:00 -08:00