Home
last modified time | relevance | path

Searched refs:oldvd (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c6238 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; local
6248 oldvd = spa_lookup_by_guid(spa, guid, B_FALSE);
6260 if (oldvd == NULL)
6263 if (!oldvd->vdev_ops->vdev_op_leaf)
6266 pvd = oldvd->vdev_parent;
6286 if (oldvd->vdev_top->vdev_islog && newvd->vdev_isspare)
6305 oldvd->vdev_isspare &&
6321 newvd->vdev_isspare != oldvd->vdev_isspare) {
6334 if (newvd->vdev_asize < vdev_get_min_asize(oldvd))
6341 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift)
[all …]
H A Dmetaslab.c5336 vdev_t *oldvd = vdev_lookup_top(vd->vdev_spa, in remap_blkptr_cb() local
5338 vdev_indirect_births_t *vib = oldvd->vdev_indirect_births; in remap_blkptr_cb()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3217 vdev_t *oldvd, *newvd, *pvd; in ztest_vdev_attach_detach() local
3269 oldvd = rvd->vdev_child[top]; in ztest_vdev_attach_detach()
3273 ASSERT(oldvd->vdev_ops == &vdev_mirror_ops); in ztest_vdev_attach_detach()
3274 ASSERT(oldvd->vdev_children >= zs->zs_mirrors); in ztest_vdev_attach_detach()
3275 oldvd = oldvd->vdev_child[leaf / ztest_opts.zo_raidz]; in ztest_vdev_attach_detach()
3280 ASSERT(oldvd->vdev_ops == &vdev_raidz_ops); in ztest_vdev_attach_detach()
3281 ASSERT(oldvd->vdev_children == ztest_opts.zo_raidz); in ztest_vdev_attach_detach()
3282 oldvd = oldvd->vdev_child[leaf % ztest_opts.zo_raidz]; in ztest_vdev_attach_detach()
3289 while (oldvd->vdev_children != 0) { in ztest_vdev_attach_detach()
3291 ASSERT(oldvd->vdev_children >= 2); in ztest_vdev_attach_detach()
[all …]