mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add default user/group/project quota properties
This adds default userquota, groupquota, and projectquota properties to MASTER_NODE_OBJ to make them accessible during zfsvfs_init() (regular DSL properties require dsl_config_lock, which cannot be safely acquired in this context). The zfs_fill_zplprops_impl() logic is updated to read these default properties directly from MASTER_NODE_OBJ. Signed-off-by: Ameer Hamza <ahamza@ixsystems.com> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
@@ -197,6 +197,12 @@ typedef enum {
|
||||
ZFS_PROP_VOLTHREADING,
|
||||
ZFS_PROP_DIRECT,
|
||||
ZFS_PROP_LONGNAME,
|
||||
ZFS_PROP_DEFAULTUSERQUOTA,
|
||||
ZFS_PROP_DEFAULTGROUPQUOTA,
|
||||
ZFS_PROP_DEFAULTPROJECTQUOTA,
|
||||
ZFS_PROP_DEFAULTUSEROBJQUOTA,
|
||||
ZFS_PROP_DEFAULTGROUPOBJQUOTA,
|
||||
ZFS_PROP_DEFAULTPROJECTOBJQUOTA,
|
||||
ZFS_NUM_PROPS
|
||||
} zfs_prop_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user