Searched refs:vdev_top (Results 1 – 12 of 12) sorted by relevance
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 95 uint64_t asize = P2ROUNDUP(psize, 1ULL << vd->vdev_top->vdev_ashift); in vdev_default_asize() 128 if (vd == vd->vdev_top) in vdev_get_min_asize() 232 cvd->vdev_top = (pvd->vdev_top ? pvd->vdev_top: cvd); in vdev_add_child() 233 ASSERT(cvd->vdev_top->vdev_parent->vdev_parent == NULL); in vdev_add_child() 686 ASSERT(tvd == tvd->vdev_top); in vdev_top_transfer() 747 vd->vdev_top = tvd; in vdev_top_update() 778 vdev_top_update(cvd->vdev_top, cvd->vdev_top); in vdev_add_parent() 780 if (mvd == mvd->vdev_top) in vdev_add_parent() 812 if (mvd->vdev_top == mvd) { in vdev_remove_parent() 820 vdev_top_update(cvd->vdev_top, cvd->vdev_top); in vdev_remove_parent() [all …]
|
H A D | spa_config.c | 417 vd->vdev_top->vdev_guid) == 0); in spa_config_generate() 426 vd = vd->vdev_top; /* label contains top config */ in spa_config_generate()
|
H A D | spa.c | 1407 vd->vdev_top = vd; in spa_load_spares() 1505 vd->vdev_top = vd; in spa_load_l2cache() 3361 vd->vdev_top = vd; in spa_validate_aux_devs() 4497 if (oldvd->vdev_top->vdev_islog && newvd->vdev_isspare) in spa_vdev_attach() 4552 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift) in spa_vdev_attach() 4581 ASSERT(pvd->vdev_top->vdev_parent == rvd); in spa_vdev_attach() 4593 tvd = newvd->vdev_top; in spa_vdev_attach() 4594 ASSERT(pvd->vdev_top == tvd); in spa_vdev_attach() 4811 tvd = cvd->vdev_top; in spa_vdev_detach() 5013 vml[c]->vdev_top->vdev_ms_array) == 0); in spa_vdev_split_mirror() [all …]
|
H A D | vdev_label.c | 273 vd == vd->vdev_top) { in vdev_config_generate() 984 if (zio->io_error == 0 && zio->io_vd->vdev_top->vdev_ms_array != 0) in vdev_uberblock_sync_done()
|
H A D | vdev_raidz.c | 1591 vdev_t *tvd = vd->vdev_top; in vdev_raidz_physio() 1676 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_raidz_asize() 1718 vdev_t *tvd = vd->vdev_top; in vdev_raidz_io_start()
|
H A D | spa_misc.c | 1192 vdev_dtl_reassess(vd ? vd->vdev_top : spa->spa_root_vdev, in spa_vdev_state_exit() 1196 vdev_state_dirty(vd->vdev_top); in spa_vdev_state_exit()
|
H A D | zfs_fm.c | 707 report->zcr_align = 1ULL << vd->vdev_top->vdev_ashift; in zfs_ereport_start_checksum()
|
H A D | metaslab.c | 232 ASSERT3P(vd->vdev_top, ==, vd); in metaslab_class_validate() 433 ASSERT(vd == vd->vdev_top); in metaslab_group_alloc_update()
|
H A D | zio.c | 2611 vd == vd->vdev_top && !vd->vdev_islog && in zio_vdev_io_start() 2620 align = 1ULL << vd->vdev_top->vdev_ashift; in zio_vdev_io_start() 2627 ASSERT(vd == vd->vdev_top); in zio_vdev_io_start()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_impl.h | 145 vdev_t *vdev_top; /* top-level vdev */ member 238 MIN(MAX((vd)->vdev_top->vdev_ashift, UBERBLOCK_SHIFT), \
|
/titanic_41/usr/src/cmd/ztest/ |
H A D | ztest.c | 2808 oldvd_is_log = oldvd->vdev_top->vdev_islog; in ztest_vdev_attach_detach() 2876 else if (ashift > oldvd->vdev_top->vdev_ashift) in ztest_vdev_attach_detach() 2955 vdev_t *tvd = vd->vdev_top; in online_vdev() 4843 if (vd0 != NULL && vd0->vdev_top->vdev_islog) in ztest_fault_inject() 4852 (!vdev_resilver_needed(vd0->vdev_top, NULL, NULL) || in ztest_fault_inject()
|
/titanic_41/usr/src/cmd/zdb/ |
H A D | zdb.c | 630 if (vd->vdev_top == vd && !vd->vdev_removing) { in get_metaslab_refcount() 2107 vdp->vdev_top = vdp; in dump_label_uberblocks() 3340 if (vd == vd->vdev_top) { in zdb_read_block()
|