diff options
author | Allan Jude <[email protected]> | 2020-06-27 13:29:47 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-27 10:29:47 -0700 |
commit | 3bc92b9ef6557efae00d37320db2548ec9bc0a56 (patch) | |
tree | b3806a4764de3f07de1f1141d9a8ae0873462f2c /cmd/zstream/zstream_dump.c | |
parent | 270ece24b6f90c649a6c8880adec161119b60e18 (diff) |
Make zstreamdump output the size of the payload for BEGIN records
This is helpful for determining the size of the nvlist of snapshots
and properties
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Allan Jude <[email protected]>
Closes #10505
Diffstat (limited to 'cmd/zstream/zstream_dump.c')
-rw-r--r-- | cmd/zstream/zstream_dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/zstream/zstream_dump.c b/cmd/zstream/zstream_dump.c index 62a1d8272..45cf7b97a 100644 --- a/cmd/zstream/zstream_dump.c +++ b/cmd/zstream/zstream_dump.c @@ -378,6 +378,8 @@ zstream_do_dump(int argc, char *argv[]) (void) printf("\tfromguid = %llx\n", (u_longlong_t)drrb->drr_fromguid); (void) printf("\ttoname = %s\n", drrb->drr_toname); + (void) printf("\tpayloadlen = %u\n", + drr->drr_payloadlen); if (verbose) (void) printf("\n"); |