spa_impl.h (339034) | spa_impl.h (339105) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 224 unchanged lines hidden (view full) --- 233 vdev_t *spa_root_vdev; /* top-level vdev container */ 234 int spa_min_ashift; /* of vdevs in normal class */ 235 int spa_max_ashift; /* of vdevs in normal class */ 236 uint64_t spa_config_guid; /* config pool guid */ 237 uint64_t spa_load_guid; /* spa_load initialized guid */ 238 uint64_t spa_last_synced_guid; /* last synced guid */ 239 list_t spa_config_dirty_list; /* vdevs with dirty config */ 240 list_t spa_state_dirty_list; /* vdevs with dirty state */ | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 224 unchanged lines hidden (view full) --- 233 vdev_t *spa_root_vdev; /* top-level vdev container */ 234 int spa_min_ashift; /* of vdevs in normal class */ 235 int spa_max_ashift; /* of vdevs in normal class */ 236 uint64_t spa_config_guid; /* config pool guid */ 237 uint64_t spa_load_guid; /* spa_load initialized guid */ 238 uint64_t spa_last_synced_guid; /* last synced guid */ 239 list_t spa_config_dirty_list; /* vdevs with dirty config */ 240 list_t spa_state_dirty_list; /* vdevs with dirty state */ |
241 kmutex_t spa_alloc_lock; 242 avl_tree_t spa_alloc_tree; | 241 /* 242 * spa_alloc_locks and spa_alloc_trees are arrays, whose lengths are 243 * stored in spa_alloc_count. There is one tree and one lock for each 244 * allocator, to help improve allocation performance in write-heavy 245 * workloads. 246 */ 247 kmutex_t *spa_alloc_locks; 248 avl_tree_t *spa_alloc_trees; 249 int spa_alloc_count; 250 |
243 spa_aux_vdev_t spa_spares; /* hot spares */ 244 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ 245 nvlist_t *spa_label_features; /* Features for reading MOS */ 246 uint64_t spa_config_object; /* MOS object for pool config */ 247 uint64_t spa_config_generation; /* config generation number */ 248 uint64_t spa_syncing_txg; /* txg currently syncing */ 249 bpobj_t spa_deferred_bpobj; /* deferred-free bplist */ 250 bplist_t spa_free_bplist[TXG_SIZE]; /* bplist of stuff to free */ --- 160 unchanged lines hidden --- | 251 spa_aux_vdev_t spa_spares; /* hot spares */ 252 spa_aux_vdev_t spa_l2cache; /* L2ARC cache devices */ 253 nvlist_t *spa_label_features; /* Features for reading MOS */ 254 uint64_t spa_config_object; /* MOS object for pool config */ 255 uint64_t spa_config_generation; /* config generation number */ 256 uint64_t spa_syncing_txg; /* txg currently syncing */ 257 bpobj_t spa_deferred_bpobj; /* deferred-free bplist */ 258 bplist_t spa_free_bplist[TXG_SIZE]; /* bplist of stuff to free */ --- 160 unchanged lines hidden --- |