Lines Matching refs:vdev

757 	 * because we're done, and possibly removing the vdev.
852 * allocations from taking place and any changes to the vdev tree.
1128 * to one vdev, that looks a bit better at the moment.
2023 * If this vdev is in the process of being removed, there is nothing
2332 zfs_dbgmsg("condensing: txg %llu, msp[%llu] %p, vdev id %llu, "
2633 * range trees and add its capacity to the vdev.
2911 metaslab_group_alloc_increment(spa_t *spa, uint64_t vdev, void *tag, int flags,
2918 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2942 metaslab_group_alloc_decrement(spa_t *spa, uint64_t vdev, void *tag, int flags,
2949 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
2967 uint64_t vdev = DVA_GET_VDEV(&dva[d]);
2968 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg;
3323 * on the same vdev as an existing DVA of this BP, then try to allocate it
3359 * consecutive vdevs. If we're forced to reuse a vdev before we've
3361 * that vdev as much as possible. If it turns out to not be possible,
3365 * able to reason about. Otherwise, any two top-level vdev failures
3367 * only two adjacent top-level vdev failures will result in data loss.
3370 * ourselves on the same vdev as our gang block header. That
3378 * It's possible the vdev we're using as the hint no
3447 * non-redundant vdev, unless we've already tried all
3483 * figure out whether the corresponding vdev is
3611 * Note: we check if the vdev is concrete because when
3612 * we complete the removal, we first change the vdev to be
3613 * an indirect vdev (in open context), and then (in syncing
3650 * vdev which must be indirect.
3666 * the vdev was offline). It also ensures that the key used in
3670 * this vdev + offset.
3748 * indirection, until a concrete vdev is reached or a split block is
3750 * as we go from the one indirect vdev to the next one (either concrete
3770 uint64_t vdev = DVA_GET_VDEV(dva);
3780 if ((vd = vdev_lookup_top(spa, vdev)) == NULL ||
3783 (u_longlong_t)vdev, (u_longlong_t)offset);
3819 uint64_t vdev = DVA_GET_VDEV(dva);
3822 vdev_t *vd = vdev_lookup_top(spa, vdev);
3996 uint64_t vdev = DVA_GET_VDEV(dva);
4001 if ((vd = vdev_lookup_top(spa, vdev)) == NULL) {
4203 uint64_t vdev = DVA_GET_VDEV(&bp->blk_dva[i]);
4204 vdev_t *vd = vdev_lookup_top(spa, vdev);