Searched refs:vdev (Results 51 - 61 of 61) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h48 typedef struct vdev vdev_t;
202 * vdev virtual device ID
735 /* Pool vdev add/remove lock */
742 /* Pool vdev state change lock */
862 /* vdev cache */
878 extern void spa_event_notify(spa_t *spa, vdev_t *vdev, const char *name);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c150 * vdev's guid then get it from the zhp config nvlist.
1094 * Create the named pool, using the provided vdev list. It is assumed
1272 * necessary verification to ensure that the vdev specification is well-formed.
1921 * Find a vdev that matches the search criteria specified. We use the
1970 * - looking for a top-level vdev name (i.e. ZPOOL_CONFIG_TYPE).
2017 * Determine our vdev type, keeping in mind
2019 * vdev id pair (i.e. mirror-4).
2054 * Now verify that we have the correct vdev id.
2081 * vdev, not the leaf vdevs. So we always lookup the
2082 * log device from the root of the vdev tre
2915 nvlist_t **mchild, *vdev; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fm.c32 #include <sys/vdev.h>
57 * gets very complicated due to RAID-Z, gang blocks, and vdev caching. We want
73 * | Physical I/O | no logical data. Issued as part of vdev caching
91 * will use the same ENA. For vdev cache fill and queue aggregation I/O,
159 * If the vdev has already been marked as failing due
161 * errors, as the DE will automatically fault the vdev
341 * If we have a vdev but no zio, this is a device fault, and the
343 * vdev.
839 * The 'resource.fs.zfs.removed' event is an internal signal that the given vdev
853 * handled by higher level logic, and no vdev faul
[all...]
H A Dvdev.c66 /* maximum scrub/resilver I/O queue per leaf vdev */
70 * When a vdev is added, it will be divided into approximately (but no
76 * Given a vdev type, return the appropriate ops vector.
110 * the vdev's asize rounded to the nearest metaslab. This allows us to
127 * The top-level vdev just returns the allocatable size rounded
134 * The allocatable space for a raidz vdev is N * sizeof(smallest child),
153 vdev_lookup_top(spa_t *spa, uint64_t vdev) argument
159 if (vdev < rvd->vdev_children) {
160 ASSERT(rvd->vdev_child[vdev] != NULL);
161 return (rvd->vdev_child[vdev]);
[all...]
H A Dvdev_label.c31 * The vdev label serves several distinct purposes:
42 * toplevel vdev of which it is a part.
80 * 1. For each vdev, update 'L1' to the new label
82 * 3. For each vdev, update 'L2' to the new label
95 * on another vdev.
101 * The vdev label consists of two distinct parts, and is wrapped within the
106 * properties, per-vdev properties, and configuration information. It is
112 * vdev for the 'best' uberblock.
118 * The nvlist describing the pool and vdev contains the following elements:
125 * vdev_tree An nvlist describing vdev tre
[all...]
H A Ddmu_objset.c54 #include <sys/vdev.h>
H A Dspa.c163 * to get the vdev stats associated with the imported devices.
485 * Make sure the vdev config is bootable
764 * the root vdev's guid, our own pool guid, and then mark all of our
1094 offsetof(struct vdev, vdev_txg_node));
1174 * Verify a pool configuration, and construct the vdev tree appropriately. This
1175 * will create all the necessary vdevs in the appropriate layout, with each vdev
1177 * All vdev validation is done by the vdev_alloc() routine.
1381 * for basic validation purposes) and one in the active vdev
1383 * validate each vdev on the spare list. If the vdev als
2031 spa_vdev_err(vdev_t *vdev, vdev_aux_t aux, int err) argument
[all...]
H A Darc.c105 * The L2ARC uses the l2ad_mtx on each vdev for the following:
263 #include <sys/vdev.h>
1056 vdev_t *l2ad_vdev; /* vdev */
4969 * 1. The L2ARC vdev was previously cached.
4973 * also have invalidated the vdev.
6070 * | vdev | | vdev |
6081 * 2) vdev cache of L2ARC devices
6083 * 4) vdev cache of disks
6151 * the vdev queu
[all...]
H A Dzfs_ioctl.c155 #include <sys/vdev.h>
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c575 "\t[-f dir (default: %s)] file directory for vdev files\n"
827 uint64_t vdev; local
837 vdev = ztest_shared->zs_vdev_aux;
841 aux, vdev);
843 vdev = ztest_shared->zs_vdev_next_leaf++;
846 pool == NULL ? ztest_opts.zo_pool : pool, vdev);
2347 * or create a pool with a bad vdev spec.
2634 * vdev state first to make sure we handle removal
2780 * Pick a random top-level vdev.
2790 * Locate this vdev
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c1236 blkif_vdev_t vdev = xvdi_get_vdevnum(dip); local
1255 ddi_put16(acchdl, &rreq->handle, vdev);
1276 ddi_put16(acchdl, &rreq->handle, vdev);

Completed in 1199 milliseconds

123