Viktor Dukhovni d0211ef475 
	
	
	Refactor send_diffs making it progressive ... 
			When a slave is many diffs behind, send these in batches of up to
50, then handle other slaves.
This also implements a fast-path that makes incremental diffs faster
when the log has not rolled over.
Related code cleanup. 
		
	 
		2019-10-03 15:52:15 -05:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2018-12-26 11:04:05 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-02 13:56:04 -05:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2008-09-13 08:53:55 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-23 10:42:34 -07:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2018-12-31 14:17:10 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-31 14:17:10 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2011-11-29 14:47:37 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2014-02-03 15:40:32 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-26 11:04:05 -06:00 
		 
	
		
			
			
			
			
			
			2012-02-27 10:19:54 +00:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2016-11-11 01:38:41 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00 
		 
	
		
			
			
			
			
			
			2019-10-03 13:09:18 -05:00 
		 
	
		
			
			
			
			
			
			2018-08-05 14:37:04 -04:00 
		 
	
		
			
			
			
			
			
			2016-02-26 00:55:33 -06:00 
		 
	
		
			
			
			
			
			
			2010-08-20 13:06:54 -04:00 
		 
	
		
			
			
			
			
			
			2017-03-13 18:39:41 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-16 17:03:14 -06:00 
		 
	
		
			
			
			
			
			
			2017-03-13 18:39:41 -04:00 
		 
	
		
			
			
			
			
			
			2016-02-26 00:59:04 -06:00 
		 
	
		
			
			
			
			
			
			2016-11-15 21:27:20 -06:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00 
		 
	
		
			
			
			
			
			
			2010-08-20 13:06:54 -04:00 
		 
	
		
			
			
			
			
			
			2010-08-20 13:06:54 -04:00 
		 
	
		
			
			
			
			
			
			2018-12-26 11:04:05 -06:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00 
		 
	
		
			
			
			
			
			
			2010-01-15 23:33:25 +00:00 
		 
	
		
			
			
			
			
			
			2019-01-10 15:18:10 +11:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-22 16:07:07 -05:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00 
		 
	
		
			
			
			
			
			
			2010-08-20 13:06:54 -04:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00 
		 
	
		
			
			
			
			
			
			2019-01-03 20:06:27 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-04 01:02:59 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2019-01-03 20:06:27 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-03 20:06:27 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-03 20:06:27 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2018-12-31 14:17:10 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2008-09-13 09:21:03 +00:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2018-12-25 16:57:55 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-14 06:12:36 -05:00 
		 
	
		
			
			
			
			
			
			2019-01-03 20:06:27 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-02 17:29:08 -06:00 
		 
	
		
			
			
			
			
			
			2019-10-03 15:52:15 -05:00