Page MenuHomeFreeBSD

Fix zfs send -v, -P, -n, and -V again
ClosedPublic

Authored by sef on Sep 18 2019, 9:40 PM.
Tags
None
Referenced Files
F135810900: D21709.diff
Thu, Nov 13, 2:51 AM
F135797641: D21709.diff
Wed, Nov 12, 11:46 PM
Unknown Object (File)
Sat, Nov 8, 9:47 AM
Unknown Object (File)
Wed, Oct 29, 9:32 AM
Unknown Object (File)
Mon, Oct 27, 1:27 PM
Unknown Object (File)
Sat, Oct 25, 12:56 PM
Unknown Object (File)
Sun, Oct 19, 10:55 PM
Unknown Object (File)
Sat, Oct 18, 9:47 AM
Subscribers

Details

Summary

avg@ noted that r344601 (which added -V, setting the process title during zfs send) had broken some of the output expected. He was right. It was a bone-head error on my part.

This seems to fix it. But let's try to get some reviews on it, I say.

Test Plan

Create a snapshot on a ZFS dataset, let's call it tank@SNAP1. Then check the following all behave as expected:

zfs send -n -v -P tank@SNAP1
zfs send -V -v -P tank@SNAP1 # note we need to send data, so we can check via ps that the process title has changed
zfs send -n -v tank@SNAP1

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable