mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Illumos 4951 - ZFS administrative commands should use reserved space
4951 ZFS administrative commands should use reserved space, not with ENOSPC Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Garrett D'Amore <garrett@damore.org> References: https://www.illumos.org/issues/4373 https://github.com/illumos/illumos-gate/commit/7d46dc6 Ported by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
cfec5b17b3
commit
3d45fdd6c0
@@ -865,7 +865,8 @@ dmu_objset_create(const char *name, dmu_objset_type_t type, uint64_t flags,
|
||||
doca.doca_type = type;
|
||||
|
||||
return (dsl_sync_task(name,
|
||||
dmu_objset_create_check, dmu_objset_create_sync, &doca, 5));
|
||||
dmu_objset_create_check, dmu_objset_create_sync, &doca,
|
||||
5, ZFS_SPACE_CHECK_NORMAL));
|
||||
}
|
||||
|
||||
typedef struct dmu_objset_clone_arg {
|
||||
@@ -964,7 +965,8 @@ dmu_objset_clone(const char *clone, const char *origin)
|
||||
doca.doca_cred = CRED();
|
||||
|
||||
return (dsl_sync_task(clone,
|
||||
dmu_objset_clone_check, dmu_objset_clone_sync, &doca, 5));
|
||||
dmu_objset_clone_check, dmu_objset_clone_sync, &doca,
|
||||
5, ZFS_SPACE_CHECK_NORMAL));
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user