Print this page
OS-1566 dataset quota for ZFS datasets


 121         ZFS_PROP_GUID,
 122         ZFS_PROP_PRIMARYCACHE,
 123         ZFS_PROP_SECONDARYCACHE,
 124         ZFS_PROP_USEDSNAP,
 125         ZFS_PROP_USEDDS,
 126         ZFS_PROP_USEDCHILD,
 127         ZFS_PROP_USEDREFRESERV,
 128         ZFS_PROP_USERACCOUNTING,        /* not exposed to the user */
 129         ZFS_PROP_STMF_SHAREINFO,        /* not exposed to the user */
 130         ZFS_PROP_DEFER_DESTROY,
 131         ZFS_PROP_USERREFS,
 132         ZFS_PROP_LOGBIAS,
 133         ZFS_PROP_UNIQUE,                /* not exposed to the user */
 134         ZFS_PROP_OBJSETID,              /* not exposed to the user */
 135         ZFS_PROP_DEDUP,
 136         ZFS_PROP_MLSLABEL,
 137         ZFS_PROP_SYNC,
 138         ZFS_PROP_REFRATIO,
 139         ZFS_PROP_WRITTEN,
 140         ZFS_PROP_CLONES,


 141         ZFS_NUM_PROPS
 142 } zfs_prop_t;
 143 
 144 typedef enum {
 145         ZFS_PROP_USERUSED,
 146         ZFS_PROP_USERQUOTA,
 147         ZFS_PROP_GROUPUSED,
 148         ZFS_PROP_GROUPQUOTA,
 149         ZFS_NUM_USERQUOTA_PROPS
 150 } zfs_userquota_prop_t;
 151 
 152 extern const char *zfs_userquota_prop_prefixes[ZFS_NUM_USERQUOTA_PROPS];
 153 
 154 /*
 155  * Pool properties are identified by these constants and must be added to the
 156  * end of this list to ensure that external consumers are not affected
 157  * by the change. If you make any changes to this list, be sure to update
 158  * the property table in usr/src/common/zfs/zpool_prop.c.
 159  */
 160 typedef enum {




 121         ZFS_PROP_GUID,
 122         ZFS_PROP_PRIMARYCACHE,
 123         ZFS_PROP_SECONDARYCACHE,
 124         ZFS_PROP_USEDSNAP,
 125         ZFS_PROP_USEDDS,
 126         ZFS_PROP_USEDCHILD,
 127         ZFS_PROP_USEDREFRESERV,
 128         ZFS_PROP_USERACCOUNTING,        /* not exposed to the user */
 129         ZFS_PROP_STMF_SHAREINFO,        /* not exposed to the user */
 130         ZFS_PROP_DEFER_DESTROY,
 131         ZFS_PROP_USERREFS,
 132         ZFS_PROP_LOGBIAS,
 133         ZFS_PROP_UNIQUE,                /* not exposed to the user */
 134         ZFS_PROP_OBJSETID,              /* not exposed to the user */
 135         ZFS_PROP_DEDUP,
 136         ZFS_PROP_MLSLABEL,
 137         ZFS_PROP_SYNC,
 138         ZFS_PROP_REFRATIO,
 139         ZFS_PROP_WRITTEN,
 140         ZFS_PROP_CLONES,
 141         ZFS_PROP_DATASET_QUOTA,
 142         ZFS_PROP_SNAPSHOT_QUOTA,
 143         ZFS_NUM_PROPS
 144 } zfs_prop_t;
 145 
 146 typedef enum {
 147         ZFS_PROP_USERUSED,
 148         ZFS_PROP_USERQUOTA,
 149         ZFS_PROP_GROUPUSED,
 150         ZFS_PROP_GROUPQUOTA,
 151         ZFS_NUM_USERQUOTA_PROPS
 152 } zfs_userquota_prop_t;
 153 
 154 extern const char *zfs_userquota_prop_prefixes[ZFS_NUM_USERQUOTA_PROPS];
 155 
 156 /*
 157  * Pool properties are identified by these constants and must be added to the
 158  * end of this list to ensure that external consumers are not affected
 159  * by the change. If you make any changes to this list, be sure to update
 160  * the property table in usr/src/common/zfs/zpool_prop.c.
 161  */
 162 typedef enum {