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 <matt@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Allan Jude <allan@klarasystems.com> Closes #10505
This commit is contained in:
parent
270ece24b6
commit
3bc92b9ef6
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue