]> git.proxmox.com Git - mirror_zfs.git/commit
Remove code for zfs remap
authorMatthew Ahrens <mahrens@delphix.com>
Mon, 24 Jun 2019 23:44:01 +0000 (16:44 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Jun 2019 23:44:01 +0000 (16:44 -0700)
commit59ec30a3290d865b98e3805df6c82b6b4f88aab0
tree4c29fb392d0bb53531756f0b3a931ba38c1493e9
parent53864800f60b843b8212514428530adfa155211b
Remove code for zfs remap

The "zfs remap" command was disabled by
6e91a72fe3ff8bb282490773bd687632f3e8c79d, because it has little utility
and introduced some tricky bugs.  This commit removes the code for it,
the associated ZFS_IOC_REMAP ioctl, and tests.

Note that the ioctl and property will remain, but have no functionality.
This allows older software to fail gracefully if it attempts to use
these, and avoids a backwards incompatibility that would be introduced if
we renumbered the later ioctls/props.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #8944
40 files changed:
cmd/zfs/zfs_main.c
configure.ac
contrib/pyzfs/libzfs_core/__init__.py
contrib/pyzfs/libzfs_core/_error_translation.py
contrib/pyzfs/libzfs_core/_libzfs_core.py
contrib/pyzfs/libzfs_core/bindings/libzfs_core.py
contrib/pyzfs/libzfs_core/test/test_libzfs_core.py
include/libzfs.h
include/libzfs_core.h
include/sys/dbuf.h
include/sys/dmu.h
include/sys/dnode.h
include/sys/dsl_deleg.h
include/sys/dsl_dir.h
include/sys/fs/zfs.h
include/zfs_deleg.h
lib/libzfs/libzfs_dataset.c
lib/libzfs_core/libzfs_core.c
module/zcommon/zfs_deleg.c
module/zcommon/zfs_prop.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dmu_tx.c
module/zfs/dsl_dir.c
module/zfs/zfs_ioctl.c
tests/runfiles/linux.run
tests/test-runner/bin/zts-report.py
tests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh
tests/zfs-tests/tests/functional/cli_root/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_remap/Makefile.am [deleted file]
tests/zfs-tests/tests/functional/cli_root/zfs_remap/cleanup.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zfs_remap/setup.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zfs_remap/zfs_remap_cliargs.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zfs_remap/zfs_remap_obsolete_counts.ksh [deleted file]
tests/zfs-tests/tests/functional/removal/Makefile.am
tests/zfs-tests/tests/functional/removal/removal_condense_export.ksh
tests/zfs-tests/tests/functional/removal/removal_remap.ksh [deleted file]
tests/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh
tests/zfs-tests/tests/functional/removal/removal_with_remap.ksh [deleted file]