mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Remove code for zfs remap
The "zfs remap" command was disabled by
6e91a72fe3, 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
This commit is contained in:
committed by
Brian Behlendorf
parent
53864800f6
commit
59ec30a329
@@ -210,10 +210,6 @@ tests = ['zfs_receive_001_pos', 'zfs_receive_002_pos', 'zfs_receive_003_pos',
|
||||
'zfs_receive_raw_incremental', 'zfs_receive_-e']
|
||||
tags = ['functional', 'cli_root', 'zfs_receive']
|
||||
|
||||
[tests/functional/cli_root/zfs_remap]
|
||||
tests = ['zfs_remap_cliargs', 'zfs_remap_obsolete_counts']
|
||||
tags = ['functional', 'cli_root', 'zfs_remap']
|
||||
|
||||
[tests/functional/cli_root/zfs_rename]
|
||||
tests = ['zfs_rename_001_pos', 'zfs_rename_002_pos', 'zfs_rename_003_pos',
|
||||
'zfs_rename_004_neg', 'zfs_rename_005_neg', 'zfs_rename_006_pos',
|
||||
@@ -767,11 +763,11 @@ tags = ['functional', 'refreserv']
|
||||
pre =
|
||||
tests = ['removal_all_vdev', 'removal_check_space',
|
||||
'removal_condense_export', 'removal_multiple_indirection',
|
||||
'removal_remap', 'removal_remap_deadlists',
|
||||
'removal_remap_deadlists',
|
||||
'removal_resume_export', 'removal_sanity', 'removal_with_add',
|
||||
'removal_with_create_fs', 'removal_with_dedup',
|
||||
'removal_with_errors', 'removal_with_export',
|
||||
'removal_with_ganging', 'removal_with_faulted', 'removal_with_remap',
|
||||
'removal_with_ganging', 'removal_with_faulted',
|
||||
'removal_with_remove', 'removal_with_scrub', 'removal_with_send',
|
||||
'removal_with_send_recv', 'removal_with_snapshot',
|
||||
'removal_with_write', 'removal_with_zdb', 'remove_expanded',
|
||||
|
||||
Reference in New Issue
Block a user