Print this page
4101 metaslab_debug should allow for fine-grained control
4102 space_maps should store more information about themselves
4103 space map object blocksize should be increased
4104 ::spa_space no longer works
4105 removing a mirrored log device results in a leaked object
4106 asynchronously load metaslab
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Sebastien Roy <seb@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/vdev_label.c
          +++ new/usr/src/uts/common/fs/zfs/vdev_label.c
↓ open down ↓ 275 lines elided ↑ open up ↑
 276  276                      vd->vdev_ms_shift);
 277  277                  fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASHIFT, vd->vdev_ashift);
 278  278                  fnvlist_add_uint64(nv, ZPOOL_CONFIG_ASIZE,
 279  279                      vd->vdev_asize);
 280  280                  fnvlist_add_uint64(nv, ZPOOL_CONFIG_IS_LOG, vd->vdev_islog);
 281  281                  if (vd->vdev_removing)
 282  282                          fnvlist_add_uint64(nv, ZPOOL_CONFIG_REMOVING,
 283  283                              vd->vdev_removing);
 284  284          }
 285  285  
 286      -        if (vd->vdev_dtl_smo.smo_object != 0)
      286 +        if (vd->vdev_dtl_sm != NULL) {
 287  287                  fnvlist_add_uint64(nv, ZPOOL_CONFIG_DTL,
 288      -                    vd->vdev_dtl_smo.smo_object);
      288 +                    space_map_object(vd->vdev_dtl_sm));
      289 +        }
 289  290  
 290  291          if (vd->vdev_crtxg)
 291  292                  fnvlist_add_uint64(nv, ZPOOL_CONFIG_CREATE_TXG, vd->vdev_crtxg);
 292  293  
 293  294          if (getstats) {
 294  295                  vdev_stat_t vs;
 295  296                  pool_scan_stat_t ps;
 296  297  
 297  298                  vdev_get_stats(vd, &vs);
 298  299                  fnvlist_add_uint64_array(nv, ZPOOL_CONFIG_VDEV_STATS,
↓ open down ↓ 972 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX