HomeFreeBSD

Read spl_hostid module parameter before gethostid()

Description

Read spl_hostid module parameter before gethostid()

If spl_hostid is set via module parameter, it's likely different from
gethostid(). Therefore, the userspace tool should read it first before
falling back to gethostid().

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3034

Details

Provenance
Chunwei Chen <tuxoko@gmail.com>Authored on Jan 23 2015, 8:05 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 5 2015, 12:44 AM
Parents
rGaa2ef419e46b: Spurious ENOMEM returns when reading dbufs kstat
Branches
Unknown
Tags
Unknown