diff options
author | Ryan Moeller <[email protected]> | 2020-09-30 16:19:49 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-30 13:19:49 -0700 |
commit | c0bd2e0fe206791242d467b6f84789bf08c3a118 (patch) | |
tree | 7da4b6764fde98a8b300c0a4c298eb7a2d7e6a96 /tests/zfs-tests/include/commands.cfg | |
parent | 68cdafdbb8c3515328cedd351b471e1bb918bd27 (diff) |
Drop references when skipping dmu_send due to EXDEV
When an invalid incremental send is requested where the "to" ds is
before the "from" ds, make sure to drop the reference to the pool
and the dataset before returning the error.
Add an assert on FreeBSD to make sure we don't hold any locks after
returning from an ioctl.
Add some test coverage.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10919
Diffstat (limited to 'tests/zfs-tests/include/commands.cfg')
-rw-r--r-- | tests/zfs-tests/include/commands.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index 4c11bf146..5a507b94a 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -190,7 +190,8 @@ export ZFS_FILES='zdb zstreamdump zfs_ids_to_path' -export ZFSTEST_FILES='btree_test +export ZFSTEST_FILES='badsend + btree_test chg_usr_exec devname2devid dir_rd_update |