Append snapshot name to "TIME SENT SNAPSHOT" output

Simply appends zhp->zfs_name to the "TIME SENT SNAPSHOT" output.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: TerraTech <TerraTech@users.noreply.github.com>
Closes #8543
This commit is contained in:
TerraTech 2019-04-01 12:25:17 -07:00 committed by Brian Behlendorf
parent df583073eb
commit bd15ac764f
1 changed files with 2 additions and 1 deletions

View File

@ -1249,7 +1249,8 @@ send_progress_thread(void *arg)
(void) strlcpy(zc.zc_name, zhp->zfs_name, sizeof (zc.zc_name));
if (!pa->pa_parsable)
(void) fprintf(stderr, "TIME SENT SNAPSHOT\n");
(void) fprintf(stderr, "TIME SENT SNAPSHOT %s\n",
zhp->zfs_name);
/*
* Print the progress from ZFS_IOC_SEND_PROGRESS every second.