diff options
author | Brian Behlendorf <[email protected]> | 2017-07-10 15:24:52 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-13 13:22:28 -0400 |
commit | c93d9dff36470434a3677225b820c14986075706 (patch) | |
tree | f484dd6d44c7cca5415b492179afc0131089265f /module/splat | |
parent | dfbd813ec7b452884f91f134b82f30c6bdcd670c (diff) |
Don't cache the system hostid
Historically the SPL cached the system hostid the first time it
was accessed. This was done to speed up subsequent accesses.
But in practice the system host id is rarely accessed and its
inconvenient that it doesn't promptly detect /etc/hostid
configuration changes. Therefore, zone_get_hostid() has been
updated to always refresh the system hostid reported.
Reviewed-by: Olaf Faaland <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #626
Diffstat (limited to 'module/splat')
0 files changed, 0 insertions, 0 deletions