Print this page
cstyle fixes
dsl_dataset_set_fsid_guid should use ZFS_SPACE_CHECK_RESERVED
dsl_dataset_set_fsid_guid _check and _sync func declared static,
removed from dsl_dataset.h
rewrite unique_valid
6333 ZFS should let the user specify or modify the fsid_guid of a dataset


 132         ZFS_PROP_USERREFS,
 133         ZFS_PROP_LOGBIAS,
 134         ZFS_PROP_UNIQUE,                /* not exposed to the user */
 135         ZFS_PROP_OBJSETID,              /* not exposed to the user */
 136         ZFS_PROP_DEDUP,
 137         ZFS_PROP_MLSLABEL,
 138         ZFS_PROP_SYNC,
 139         ZFS_PROP_REFRATIO,
 140         ZFS_PROP_WRITTEN,
 141         ZFS_PROP_CLONES,
 142         ZFS_PROP_LOGICALUSED,
 143         ZFS_PROP_LOGICALREFERENCED,
 144         ZFS_PROP_INCONSISTENT,          /* not exposed to the user */
 145         ZFS_PROP_FILESYSTEM_LIMIT,
 146         ZFS_PROP_SNAPSHOT_LIMIT,
 147         ZFS_PROP_FILESYSTEM_COUNT,
 148         ZFS_PROP_SNAPSHOT_COUNT,
 149         ZFS_PROP_REDUNDANT_METADATA,
 150         ZFS_PROP_PREV_SNAP,
 151         ZFS_PROP_RECEIVE_RESUME_TOKEN,

 152         ZFS_NUM_PROPS
 153 } zfs_prop_t;
 154 
 155 typedef enum {
 156         ZFS_PROP_USERUSED,
 157         ZFS_PROP_USERQUOTA,
 158         ZFS_PROP_GROUPUSED,
 159         ZFS_PROP_GROUPQUOTA,
 160         ZFS_NUM_USERQUOTA_PROPS
 161 } zfs_userquota_prop_t;
 162 
 163 extern const char *zfs_userquota_prop_prefixes[ZFS_NUM_USERQUOTA_PROPS];
 164 
 165 /*
 166  * Pool properties are identified by these constants and must be added to the
 167  * end of this list to ensure that external consumers are not affected
 168  * by the change. If you make any changes to this list, be sure to update
 169  * the property table in usr/src/common/zfs/zpool_prop.c.
 170  */
 171 typedef enum {




 132         ZFS_PROP_USERREFS,
 133         ZFS_PROP_LOGBIAS,
 134         ZFS_PROP_UNIQUE,                /* not exposed to the user */
 135         ZFS_PROP_OBJSETID,              /* not exposed to the user */
 136         ZFS_PROP_DEDUP,
 137         ZFS_PROP_MLSLABEL,
 138         ZFS_PROP_SYNC,
 139         ZFS_PROP_REFRATIO,
 140         ZFS_PROP_WRITTEN,
 141         ZFS_PROP_CLONES,
 142         ZFS_PROP_LOGICALUSED,
 143         ZFS_PROP_LOGICALREFERENCED,
 144         ZFS_PROP_INCONSISTENT,          /* not exposed to the user */
 145         ZFS_PROP_FILESYSTEM_LIMIT,
 146         ZFS_PROP_SNAPSHOT_LIMIT,
 147         ZFS_PROP_FILESYSTEM_COUNT,
 148         ZFS_PROP_SNAPSHOT_COUNT,
 149         ZFS_PROP_REDUNDANT_METADATA,
 150         ZFS_PROP_PREV_SNAP,
 151         ZFS_PROP_RECEIVE_RESUME_TOKEN,
 152         ZFS_PROP_FSID_GUID,
 153         ZFS_NUM_PROPS
 154 } zfs_prop_t;
 155 
 156 typedef enum {
 157         ZFS_PROP_USERUSED,
 158         ZFS_PROP_USERQUOTA,
 159         ZFS_PROP_GROUPUSED,
 160         ZFS_PROP_GROUPQUOTA,
 161         ZFS_NUM_USERQUOTA_PROPS
 162 } zfs_userquota_prop_t;
 163 
 164 extern const char *zfs_userquota_prop_prefixes[ZFS_NUM_USERQUOTA_PROPS];
 165 
 166 /*
 167  * Pool properties are identified by these constants and must be added to the
 168  * end of this list to ensure that external consumers are not affected
 169  * by the change. If you make any changes to this list, be sure to update
 170  * the property table in usr/src/common/zfs/zpool_prop.c.
 171  */
 172 typedef enum {