Files
mirror_zfs/lib/libspl/include/sys
Brian Behlendorf c30e716c81 Fix MMP write frequency for large pools
When a single pool contains more vdevs than the CONFIG_HZ for
for the kernel the mmp thread will not delay properly.  Switch
to using cv_timedwait_sig_hires() to handle higher resolution
delays.

This issue was reported on Arch Linux where HZ defaults to only
100 and this could be fairly easily reproduced with a reasonably
large pool.  Most distribution kernels set CONFIG_HZ=250 or
CONFIG_HZ=1000 and thus are unlikely to be impacted.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7205
Closes #7289
2018-03-14 16:10:38 -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
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
2013-12-18 16:46:35 -08:00
2013-10-25 13:57:25 -07:00
2010-08-31 13:41:59 -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
2016-09-20 10:07:58 -07:00
2015-09-03 14:14:55 -07:00
2010-08-31 13:41:59 -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
2013-12-18 16:46:35 -08: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
2018-03-14 16:10:38 -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
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