4951 ZFS administrative commands should use reserved space, not fail with ENOSPC
commit7d46dc6ca63a6f3f0d51aa655bfcf10cf2405a9e
authorMatthew Ahrens <mahrens@delphix.com>
Wed, 9 Jul 2014 04:49:56 +0000 (8 20:49 -0800)
committerChristopher Siden <chris@delphix.com>
Wed, 9 Jul 2014 04:49:57 +0000 (8 21:49 -0700)
treeba560108487312f24294332156f10015c91b775d
parentcd67d23d32df7b247d00e5b82257a2220b1e0c13
4951 ZFS administrative commands should use reserved space, not fail 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>
26 files changed:
usr/src/cmd/zfs/zfs_main.c
usr/src/cmd/zhack/zhack.c
usr/src/pkg/manifests/system-test-zfstest.mf
usr/src/test/zfs-tests/runfiles/delphix.run
usr/src/test/zfs-tests/runfiles/omnios.run
usr/src/test/zfs-tests/runfiles/openindiana.run
usr/src/test/zfs-tests/tests/functional/no_space/Makefile
usr/src/test/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh
usr/src/test/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh [new file with mode: 0644]
usr/src/uts/common/fs/zfs/dmu_objset.c
usr/src/uts/common/fs/zfs/dmu_send.c
usr/src/uts/common/fs/zfs/dsl_bookmark.c
usr/src/uts/common/fs/zfs/dsl_dataset.c
usr/src/uts/common/fs/zfs/dsl_deleg.c
usr/src/uts/common/fs/zfs/dsl_destroy.c
usr/src/uts/common/fs/zfs/dsl_dir.c
usr/src/uts/common/fs/zfs/dsl_prop.c
usr/src/uts/common/fs/zfs/dsl_scan.c
usr/src/uts/common/fs/zfs/dsl_synctask.c
usr/src/uts/common/fs/zfs/dsl_userhold.c
usr/src/uts/common/fs/zfs/spa.c
usr/src/uts/common/fs/zfs/spa_history.c
usr/src/uts/common/fs/zfs/spa_misc.c
usr/src/uts/common/fs/zfs/sys/dsl_synctask.h
usr/src/uts/common/fs/zfs/zfs_ioctl.c
usr/src/uts/common/fs/zfs/zvol.c