Files
mirror_zfs/include/sys
Igor Lvovsky 478d64fdae Add additional state TXG_STATE_WAIT_FOR_SYNC for txg.
In several cases when digging into kstats we can found two txgs
in SYNC state, e.g.

txg     birth            state  nreserved  nread      nwritten ...
985452  258127184872561  C      0          373948416  2376272384 ...
985453  258129016180616  C      0          378173440  28793344 ...
985454  258129016271523  S      0          0          0 ...
985455  258130864245986  S      0          0          0 ...
985456  258130867458851  O      0          0          0 ...

However only first txg (985454) is really syncing at this moment.
The other one (985455) marked as SYNCED is actually in a post-QUIESCED
state and waiting to start sync.   So, the new TXG_STATE_WAIT_FOR_SYNC
state between TXG_STATE_QUIESCED and TXG_STATE_SYNCED was added to
reveal this situation.

txg     birth            state  nreserved  nread      nwritten ...
1086896 235261068743969  C      0          163577856  8437248 ...
1086897 235262870830801  C      0          280625152  822594048 ...
1086898 235264172219064  S      0          0          0 ...
1086899 235264936134407  W      0          0          0 ...
1086900 235264936296156  O      0          0          0 ...

Signed-off-by: Igor Lvovsky <ilvovsky@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2075
2014-01-23 13:31:51 -08:00
..
2013-12-18 16:46:35 -08:00
2013-12-19 10:37:31 -08:00
2013-01-08 10:35:43 -08:00
2013-01-08 10:35:35 -08:00
2014-01-07 10:33:11 -08:00
2013-11-05 12:15:00 -08:00
2013-11-04 11:27:41 -08:00
2013-11-05 12:15:00 -08:00
2013-12-18 16:46:35 -08:00
2013-12-10 10:09:27 -08:00
2013-11-05 12:23:35 -08:00
2013-11-05 12:23:11 -08:00
2013-09-04 15:49:00 -07:00
2013-11-04 11:18:14 -08:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-11-04 11:17:48 -08:00
2013-11-05 12:25:01 -08:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2012-03-07 16:28:00 -08:00
2013-11-04 10:55:25 -08:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2013-05-01 17:05:52 -07:00
2011-03-02 11:43:50 -08:00
2013-11-04 10:55:25 -08:00
2013-11-04 10:55:25 -08:00
2013-09-04 16:01:24 -07:00
2013-11-04 10:55:25 -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
2011-02-10 09:27:21 -08:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-08-15 16:19:07 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-11-05 12:14:56 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-16 09:15:57 -08:00