spa_impl.h (314665) | spa_impl.h (321540) |
---|---|
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 --- 106 unchanged lines hidden (view full) --- 115typedef struct spa_taskqs { 116 uint_t stqs_count; 117 taskq_t **stqs_taskq; 118} spa_taskqs_t; 119 120typedef enum spa_all_vdev_zap_action { 121 AVZ_ACTION_NONE = 0, 122 AVZ_ACTION_DESTROY, /* Destroy all per-vdev ZAPs and the AVZ. */ | 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 --- 106 unchanged lines hidden (view full) --- 115typedef struct spa_taskqs { 116 uint_t stqs_count; 117 taskq_t **stqs_taskq; 118} spa_taskqs_t; 119 120typedef enum spa_all_vdev_zap_action { 121 AVZ_ACTION_NONE = 0, 122 AVZ_ACTION_DESTROY, /* Destroy all per-vdev ZAPs and the AVZ. */ |
123 AVZ_ACTION_REBUILD /* Populate the new AVZ, see spa_avz_rebuild */ | 123 AVZ_ACTION_REBUILD, /* Populate the new AVZ, see spa_avz_rebuild */ 124 AVZ_ACTION_INITIALIZE |
124} spa_avz_action_t; 125 126struct spa { 127 /* 128 * Fields protected by spa_namespace_lock. 129 */ 130 char spa_name[ZFS_MAX_DATASET_NAME_LEN]; /* pool name */ 131 char *spa_comment; /* comment */ --- 184 unchanged lines hidden --- | 125} spa_avz_action_t; 126 127struct spa { 128 /* 129 * Fields protected by spa_namespace_lock. 130 */ 131 char spa_name[ZFS_MAX_DATASET_NAME_LEN]; /* pool name */ 132 char *spa_comment; /* comment */ --- 184 unchanged lines hidden --- |