--- a/usr/src/uts/common/fs/zfs/spa_config.c Fri Jun 22 19:47:09 2007 -0700
+++ b/usr/src/uts/common/fs/zfs/spa_config.c Fri Jun 22 20:02:13 2007 -0700
@@ -296,7 +296,7 @@
(void) ddi_strtoul(hw_serial, NULL, 10, &hostid);
if (hostid != 0) {
VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_HOSTID,
- hostid) == 0);
+ hostid) == 0);
}
VERIFY(nvlist_add_string(config, ZPOOL_CONFIG_HOSTNAME,
utsname.nodename) == 0);
@@ -309,6 +309,9 @@
if (vd->vdev_isspare)
VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_IS_SPARE,
1ULL) == 0);
+ if (vd->vdev_islog)
+ VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_IS_LOG,
+ 1ULL) == 0);
vd = vd->vdev_top; /* label contains top config */
}