mirror_zfs/tests/zfs-tests/tests/functional/rsend
Tom Caputi 149ce888bb Fix issues with raw receive_write_byref()
This patch fixes 2 issues with raw, deduplicated send streams. The
first is that datasets who had been completely received earlier in
the stream were not still marked as raw receives. This caused
problems when newly received datasets attempted to fetch raw data
from these datasets without this flag set.

The second problem was that the arc freeze checksum code was not
consistent about which locks needed to be held while performing
its asserts. The proper locking needed to run these asserts is
actually fairly nuanced, since the asserts touch the linked list
of buffers (requiring the header lock), the arc_state (requiring
the b_evict_lock), and the b_freeze_cksum (requiring the
b_freeze_lock). This seems like a large performance sacrifice and
a lot of unneeded complexity to verify that this relatively small
debug feature is working as intended, so this patch simply removes
these asserts instead.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7701
2018-08-20 11:03:56 -07:00
..
cleanup.ksh OpenZFS 7535 - need test for resumed send of top most filesystem 2017-04-12 08:47:42 -07:00
Makefile.am Fix issues with raw receive_write_byref() 2018-08-20 11:03:56 -07:00
rsend_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_002_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_003_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_004_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_005_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_006_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_007_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_008_pos.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
rsend_009_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_010_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_011_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_012_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_013_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_014_pos.ksh Update rsend_014_pos and send-c_volume test cases 2017-05-04 14:32:43 -07:00
rsend_019_pos.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
rsend_020_pos.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
rsend_021_pos.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
rsend_022_pos.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
rsend_024_pos.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
rsend.cfg OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
rsend.kshlib OpenZFS 9438 - Holes can lose birth time info if a block has a mix of birth times 2018-07-30 09:27:49 -07:00
send_encrypted_files.ksh Fix issues with raw sends of spill blocks 2018-04-17 11:19:03 -07:00
send_encrypted_heirarchy.ksh Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
send_encrypted_props.ksh Added encryption support for zfs recv -o / -x 2018-08-15 09:48:49 -07:00
send_freeobjects.ksh receive_freeobjects() skips freeing some objects 2017-10-02 15:36:04 -07:00
send_hole_birth.ksh OpenZFS 9438 - Holes can lose birth time info if a block has a mix of birth times 2018-07-30 09:27:49 -07:00
send_realloc_dnode_size.ksh Fix object reclaim when using large dnodes 2018-04-17 11:13:57 -07:00
send-c_embedded_blocks.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_incremental.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_lz4_disabled.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_mixed_compression.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_props.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_recv_dedup.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_recv_lz4_disabled.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_resume.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
send-c_stream_size_estimate.ksh ZTS: fix send-c_stream_size_estimate 2018-03-07 09:55:54 -08:00
send-c_verify_contents.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_verify_ratio.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_volume.ksh ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
send-c_zstreamdump.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-cD.ksh OpenZFS 9004 - Some ZFS tests used files removed with 32 bit kernel 2018-02-09 10:28:44 -08:00
send-cpL_varied_recsize.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-wDR_encrypted_zvol.ksh Fix issues with raw receive_write_byref() 2018-08-20 11:03:56 -07:00
setup.ksh OpenZFS 7535 - need test for resumed send of top most filesystem 2017-04-12 08:47:42 -07:00