Lines Matching defs:vdev
111 struct vdev { struct
115 uint64_t vdev_id; /* child number in vdev parent */ argument
116 uint64_t vdev_guid; /* unique ID for this vdev */ argument
117 uint64_t vdev_guid_sum; /* self guid + all child guids */ argument
118 uint64_t vdev_orig_guid; /* orig. guid prior to remove */ argument
119 uint64_t vdev_asize; /* allocatable device capacity */ argument
120 uint64_t vdev_min_asize; /* min acceptable asize */ argument
121 uint64_t vdev_ashift; /* block alignment shift */ argument
122 uint64_t vdev_state; /* see VDEV_STATE_* #defines */ argument
123 uint64_t vdev_prevstate; /* used when reopening a vdev */ argument
124 vdev_ops_t *vdev_ops; /* vdev operations */ argument
125 spa_t *vdev_spa; /* spa for this vdev */ argument
126 void *vdev_tsd; /* type-specific data */ argument
127 vnode_t *vdev_name_vp; /* vnode for pathname */ argument
128 vnode_t *vdev_devid_vp; /* vnode for devid */ argument
129 vdev_t *vdev_top; /* top-level vdev */ argument
130 vdev_t *vdev_parent; /* parent vdev */ argument
131 vdev_t **vdev_child; /* array of children */ argument
132 uint64_t vdev_children; /* number of children */ argument
133 space_map_t vdev_dtl[DTL_TYPES]; /* in-core dirty time logs */ argument
134 vdev_stat_t vdev_stat; /* virtual device statistics */ argument
135 boolean_t vdev_expanding; /* expand the vdev? */ argument
136 boolean_t vdev_reopening; /* reopen in progress? */ argument
137 int vdev_open_error; /* error on last open */ argument
138 kthread_t *vdev_open_thread; /* thread opening children */ argument
139 uint64_t vdev_crtxg; /* txg when top-level was added */ argument
144 uint64_t vdev_ms_array; /* metaslab array object */ argument
145 uint64_t vdev_ms_shift; /* metaslab size shift */ argument
146 uint64_t vdev_ms_count; /* number of metaslabs */ argument
147 metaslab_group_t *vdev_mg; /* metaslab group */ argument
148 metaslab_t **vdev_ms; /* metaslab array */ argument
149 txg_list_t vdev_ms_list; /* per-txg dirty metaslab lists */ argument
150 txg_list_t vdev_dtl_list; /* per-txg dirty DTL lists */ argument
151 txg_node_t vdev_txg_node; /* per-txg dirty vdev linkage */ argument
152 boolean_t vdev_remove_wanted; /* async remove wanted? */ argument
153 boolean_t vdev_probe_wanted; /* async probe wanted? */ argument
154 uint64_t vdev_removing; /* device is being removed? */ argument
155 list_node_t vdev_config_dirty_node; /* config dirty list */ argument
156 list_node_t vdev_state_dirty_node; /* state dirty list */ argument
157 uint64_t vdev_deflate_ratio; /* deflation ratio (x512) */ argument
158 uint64_t vdev_islog; /* is an intent log device */ argument
159 uint64_t vdev_ishole; /* is a hole in the namespace */ argument
164 uint64_t vdev_psize; /* physical device capacity */ argument
165 space_map_obj_t vdev_dtl_smo; /* dirty time log space map obj */ argument
166 txg_node_t vdev_dtl_node; /* per-txg dirty DTL linkage */ argument
167 uint64_t vdev_wholedisk; /* true if this is a whole disk */ argument
168 uint64_t vdev_offline; /* persistent offline state */ argument
169 uint64_t vdev_faulted; /* persistent faulted state */ argument
170 uint64_t vdev_degraded; /* persistent degraded state */ argument
171 uint64_t vdev_removed; /* persistent removed state */ argument
172 uint64_t vdev_resilvering; /* persistent resilvering state */ argument
173 uint64_t vdev_nparity; /* number of parity devices for raidz */ argument
174 char *vdev_path; /* vdev path (if any) */ argument
175 char *vdev_devid; /* vdev devid (if any) */ argument
176 char *vdev_physpath; /* vdev device path (if any) */ argument
177 char *vdev_fru; /* physical FRU location */ argument
178 uint64_t vdev_not_present; /* not present during import */ argument
179 uint64_t vdev_unspare; /* unspare when resilvering done */ argument
180 hrtime_t vdev_last_try; /* last reopen time */ argument
181 boolean_t vdev_nowritecache; /* true if flushwritecache failed */ argument
182 boolean_t vdev_checkremove; /* temporary online test */ argument
183 boolean_t vdev_forcefault; /* force online fault */ argument
184 boolean_t vdev_splitting; /* split or repair in progress */ argument
185 boolean_t vdev_delayed_close; /* delayed device close? */ argument
186 uint8_t vdev_tmpoffline; /* device taken offline temporarily? */ argument
187 uint8_t vdev_detached; /* device detached? */ argument
188 uint8_t vdev_cant_read; /* vdev is failing all reads */ argument
189 uint8_t vdev_cant_write; /* vdev is failing all writes */ argument
190 uint64_t vdev_isspare; /* was a hot spare */ argument
191 uint64_t vdev_isl2cache; /* was a l2cache device */ argument
192 vdev_queue_t vdev_queue; /* I/O deadline schedule queue */ argument
193 vdev_cache_t vdev_cache; /* physical block cache */ argument
194 spa_aux_vdev_t *vdev_aux; /* for l2cache vdevs */ argument
195 zio_t *vdev_probe_zio; /* root of current probe */ argument
196 vdev_aux_t vdev_label_aux; /* on-disk aux state */ argument
205 kmutex_t vdev_dtl_lock; /* vdev_dtl_{map,resilver} */ argument
206 kmutex_t vdev_stat_lock; /* vdev_stat */ argument
207 kmutex_t vdev_probe_lock; /* protects vdev_probe_zio */ argument