Tim Chase d1043e2f6d Unify behavior of deadman parameters
The zfs_deadman_failmode, zfs_deadman_ziotime_ms and
zfs_deadman_synctime_ms paramaters are stored per-pool.  However,
only the zfs_deadman_failmode updates the per-pool state when it's
change.  This patch gives adds the same behavior to the other two
for consistency.

Also, in all 3 three cases, only update the per-pool parameters
if spa_init() has actually been called in order to avoid panicking
when trying to take a lock on the spa_namespace_lock mutex.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #7499
2018-05-08 21:45:47 -07:00
..
2017-11-18 14:08:00 -08:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2018-05-01 11:24:20 -07:00
2018-05-01 10:33:35 -07:00
2017-08-14 10:36:48 -07:00
2017-10-11 16:54:48 -04:00
2016-04-21 09:49:25 -07:00
2018-03-15 10:53:58 -07:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-03-15 10:53:58 -07:00
2017-07-13 13:54:00 -04:00
2016-11-29 14:34:33 -08:00
2018-05-08 21:39:50 -07:00
2018-02-08 15:28:18 -08:00
2018-04-15 10:59:13 -07:00
2017-03-10 09:51:33 -08:00
2018-05-07 21:11:58 -07:00
2018-02-13 14:54:54 -08:00
2018-02-13 14:54:54 -08:00
2017-01-03 11:31:18 -06:00
2018-02-13 14:54:54 -08:00
2018-02-09 10:08:05 -08:00
2018-05-02 15:01:24 -07:00
2017-11-18 14:08:00 -08:00
2018-04-15 15:12:28 -07:00