mirror_zfs/tests/zfs-tests/tests/functional/cli_root
Tom Caputi 2c24b5b148 Fix issues found with zfs diff
Two deadlocks / ASSERT failures were introduced in a2c2ed1b which
would occur whenever arc_buf_fill() failed to decrypt a block of
data. This occurred because the call to arc_buf_destroy() which
was responsible for cleaning up the newly created buffer would
attempt to take out the hdr lock that it was already holding. This
was resolved by calling the underlying functions directly without
retaking the lock.

In addition, the dmu_diff() code did not properly ensure that keys
were loaded and mapped before begining dataset traversal. It turns
out that this code does not need to look at any encrypted values,
so the code was altered to perform raw IO only.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7354 
Closes #7456
2018-05-01 11:24:20 -07:00
..
zdb zdb and inuse tests don't pass with real disks 2018-03-07 17:03:33 -08:00
zfs Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
zfs_bookmark Fix segfault in zfs_do_bookmark() 2018-02-26 09:55:18 -08:00
zfs_change-key Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs_clone Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs_copies Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_create Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_destroy Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_diff Fix issues found with zfs diff 2018-05-01 11:24:20 -07:00
zfs_get Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_inherit OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_load-key Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
zfs_mount Allow mounting datasets more than once 2018-04-13 10:44:05 -07:00
zfs_program Add JSON output support to channel programs 2018-03-19 12:40:58 -07:00
zfs_promote Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_property Enable remaining tests 2017-05-22 12:34:32 -04:00
zfs_receive Fix zfs incremental send remove '-o' properties 2018-04-30 20:58:29 -07:00
zfs_remap Fix 'zfs remap <poolname@snapname>' 2018-04-19 09:45:17 -07:00
zfs_rename Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_reservation OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_rollback Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_send Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_set Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_share Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_snapshot Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_unload-key Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs_unmount Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zfs_unshare Enable remaining tests 2017-05-22 12:34:32 -04:00
zfs_upgrade Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
zpool_add Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_attach More ashift improvements 2017-05-03 09:31:05 -07:00
zpool_clear Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_create ZTS: zpool_create_002 clean up leftover filedisk 2018-04-15 15:17:44 -07:00
zpool_destroy Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_detach OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_events Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
zpool_expand Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_export Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_get OpenZFS 7614, 9064 - zfs device evacuation/removal 2018-04-14 12:16:17 -07:00
zpool_history OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_import Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_labelclear Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
zpool_offline Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_online Wait for resilver after online 2018-04-13 18:04:10 -07:00
zpool_remove Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_reopen Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
zpool_replace More ashift improvements 2017-05-03 09:31:05 -07:00
zpool_scrub Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zpool_set Fix zpool set feature@<feature>=disabled 2018-04-11 14:45:58 -07:00
zpool_split Add 'zpool split' coverage to the ZFS Test Suite 2018-04-12 10:57:24 -07:00
zpool_status zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
zpool_sync Implemented zpool sync command 2017-05-19 12:33:11 -07:00
zpool_upgrade Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
cli_common.kshlib OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
Makefile.am Fix 'zfs remap <poolname@snapname>' 2018-04-19 09:45:17 -07:00