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
2018-02-02 11:37:16 -08:00
2017-11-04 13:25:13 -07:00
2017-11-04 13:25:13 -07:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2018-01-29 10:24:52 -08:00
2018-02-02 11:44:53 -08:00
2017-11-15 17:27:01 -08:00
2016-09-13 09:58:33 -07:00
2018-02-02 11:43:11 -08:00
2018-02-02 11:44:53 -08:00
2018-02-02 11:43:11 -08:00
2017-11-15 17:27:01 -08:00
2018-01-26 20:19:46 -08:00
2018-01-19 09:31:29 -08:00
2018-02-02 11:37:16 -08:00
2018-02-02 11:43:11 -08:00
2018-02-02 11:43:11 -08:00
2017-11-04 13:25:13 -07:00
2018-02-02 11:44:53 -08:00
2018-02-02 11:44:53 -08:00
2017-07-08 20:35:35 -07:00
2017-11-04 13:25:13 -07:00
2018-02-02 11:37:16 -08:00
2017-11-15 17:27:01 -08:00
2017-08-14 10:36:48 -07:00
2018-01-31 09:33:33 -08:00
2017-11-04 13:25:13 -07:00
2016-11-29 14:34:27 -08:00
2017-11-28 17:33:48 -06:00
2017-03-22 17:58:47 -07:00
2017-10-11 16:54:48 -04:00
2017-05-19 13:45:46 -07:00
2018-01-10 10:49:27 -08:00
2017-11-15 17:27:01 -08:00
2018-01-17 12:24:42 -08:00
2017-11-04 13:25:13 -07:00
2017-01-22 13:25:40 -08:00
2017-11-07 14:51:30 -08:00
2017-03-22 17:58:47 -07:00
2017-11-15 17:27:01 -08:00
2017-02-28 16:10:18 -08:00
2017-01-03 11:31:18 -06:00
2017-10-10 16:41:47 -07:00
2016-11-29 14:34:27 -08:00
2016-11-29 14:34:27 -08:00
2017-11-04 13:25:13 -07:00
2017-08-14 10:36:48 -07:00
2017-10-23 09:45:59 -07:00
2018-01-25 13:40:38 -08:00
2017-09-29 15:58:52 -07:00
2018-01-19 09:22:37 -08:00
2017-11-04 13:25:13 -07:00
2017-01-12 09:42:11 -08:00
2017-12-05 09:39:16 -08:00
2017-07-13 13:54:00 -04:00
2017-11-04 13:25:13 -07:00
2017-09-25 10:38:27 -07:00
2017-05-12 17:28:03 -07:00
2017-11-04 13:25:13 -07:00
2017-11-28 17:33:48 -06:00
2017-05-12 17:28:03 -07:00
2017-12-21 09:13:06 -08:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2016-12-15 17:31:33 -08:00
2016-12-12 10:46:26 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2017-01-22 13:25:40 -08:00
2017-11-28 17:33:48 -06:00
2017-11-04 13:25:13 -07:00
2018-01-25 13:40:38 -08:00
2017-08-02 21:16:12 -07:00
2017-11-04 13:25:13 -07:00
2017-11-15 17:27:01 -08:00
2017-11-04 13:25:13 -07:00
2017-11-28 17:33:48 -06:00
2017-08-02 21:16:12 -07:00
2017-07-25 23:09:48 -07:00
2018-01-09 16:16:07 -08:00
2018-01-25 10:02:11 -08:00
2017-03-10 09:51:33 -08:00
2017-11-10 13:37:10 -08:00
2017-06-09 09:15:37 -07:00
2017-08-09 15:31:08 -07:00
2017-10-27 12:46:35 -07:00
2017-01-03 11:31:18 -06:00
2017-09-13 12:20:07 -07:00
2018-02-02 11:37:16 -08:00
2018-01-26 20:19:46 -08:00
2018-01-11 13:50:08 -08:00
2018-02-02 11:44:53 -08:00
2017-11-04 13:25:13 -07:00
2017-11-04 13:25:13 -07:00
2018-02-02 11:37:16 -08:00
2017-11-04 13:25:13 -07:00
2018-02-02 11:37:16 -08:00
2017-05-10 09:30:48 -07:00
2016-12-12 10:46:26 -08:00
2017-09-19 12:19:08 -07:00
2017-05-10 09:30:48 -07:00
2017-03-10 09:51:41 -08:00
2017-11-18 14:08:00 -08:00
2017-11-04 13:25:13 -07:00
2018-02-02 11:37:16 -08:00