diff options
author | Brian Behlendorf <[email protected]> | 2018-03-12 11:26:05 -0700 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2018-03-14 16:10:38 -0700 |
commit | c30e716c8149b7df7cf968373c22aa00b48d17b8 (patch) | |
tree | e607665f7a4fdb36c93cd63dee13f4debfa67764 /META | |
parent | 267fd7b0f14251026c35d7ceab4fbbe2f06717e6 (diff) |
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 <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Olaf Faaland <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #7205
Closes #7289
Diffstat (limited to 'META')
0 files changed, 0 insertions, 0 deletions