aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAllan Jude <[email protected]>2019-06-22 19:33:44 -0400
committerBrian Behlendorf <[email protected]>2019-06-22 16:33:44 -0700
commitfb6e6f1ffb2aa18711c8c3c825c1090bd97561f0 (patch)
tree0966b1caf146dd7f8f794f8dbc5a282b141e3e95 /tests
parent2b09628b59105a2b8da92f6db8da24c07e54ecb9 (diff)
zstreamdump: add per-record-type counters and an overhead counter
Count the bytes of payload for each replication record type Count the bytes of overhead (replication records themselves) Include these counters in the output summary at the end of the run. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Signed-off-by: Allan Jude <[email protected]> Sponsored-By: Klara Systems and Catalogic Closes #8432
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/tests/functional/rsend/rsend.kshlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/rsend/rsend.kshlib b/tests/zfs-tests/tests/functional/rsend/rsend.kshlib
index e6fc9b7d6..7bfbc1aef 100644
--- a/tests/zfs-tests/tests/functional/rsend/rsend.kshlib
+++ b/tests/zfs-tests/tests/functional/rsend/rsend.kshlib
@@ -754,7 +754,7 @@ function verify_stream_size
datasetexists $ds || log_fail "No such dataset: $ds"
typeset stream_size=$(cat $stream | zstreamdump | sed -n \
- 's/ Total write size = \(.*\) (0x.*)/\1/p')
+ 's/ Total payload size = \(.*\) (0x.*)/\1/p')
typeset inc_size=0
if [[ -n $inc_src ]]; then