]> git.proxmox.com Git - mirror_zfs.git/commit
Fix console progress reporting for recursive send
authorAmeer Hamza <106930537+ixhamza@users.noreply.github.com>
Thu, 2 Feb 2023 23:09:57 +0000 (04:09 +0500)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2023 23:09:57 +0000 (15:09 -0800)
commit05b72415d16e3cfbdeb0f59d5f24640f10ee34d6
tree4362afb730d362a23d2b7c49daa5f3d45fa447cb
parent973934b965268b5333564dbdf4e76b34cc7e7b6f
Fix console progress reporting for recursive send

After commit 19d3961, progress reporting (-v) with replication flag
enabled does not report the progress on the console. This commit
fixes the issue by updating the logic to check for pa->progress
instead of pa_verbosity in send_progress_thread().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #14448
cmd/zfs/zfs_main.c
lib/libzfs/libzfs_sendrecv.c