Lines Matching refs:vdev

35 #include <sys/vdev.h>
84 * Given a target vdev, translates the logical range "in" to the physical
153 * On-disk indirect vdev state.
155 * An indirect vdev is described exclusively in the MOS config of a pool.
156 * The config for an indirect vdev includes several fields, which are
164 * vdev_indirect_mapping_phys_t. This object is allocated when a vdev
167 * Note that this object can be empty if none of the data on the vdev
177 * is allocated when a vdev removal is initiated.
179 * Note that this object can be empty if none of the vdev has yet been
185 * This is the vdev ID which was removed previous to this vdev, or
194 struct vdev {
196 * Common to all vdev types.
198 uint64_t vdev_id; /* child number in vdev parent */
199 uint64_t vdev_guid; /* unique ID for this vdev */
225 uint64_t vdev_prevstate; /* used when reopening a vdev */
226 vdev_ops_t *vdev_ops; /* vdev operations */
227 spa_t *vdev_spa; /* spa for this vdev */
231 vdev_t *vdev_top; /* top-level vdev */
232 vdev_t *vdev_parent; /* parent vdev */
236 boolean_t vdev_expanding; /* expand the vdev? */
244 * Top-level vdev state.
253 txg_node_t vdev_txg_node; /* per-txg dirty vdev linkage */
287 * Values stored in the config for an indirect or removing vdev.
338 * Leaf vdev state.
352 char *vdev_path; /* vdev path (if any) */
353 char *vdev_devid; /* vdev devid (if any) */
354 char *vdev_physpath; /* vdev device path (if any) */
366 boolean_t vdev_cant_read; /* vdev is failing all reads */
367 boolean_t vdev_cant_write; /* vdev is failing all writes */
381 * CTF definition for 'struct vdev', and since the size of a kmutex_t is
452 * Allocate or free a vdev
470 * vdev sync load and sync
481 * Available vdev types.