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
F157122752: D21709.id62282.diff
Mon, May 18, 2:40 PM
F157019475: D21709.id.diff
Sun, May 17, 11:52 PM
F157011527: D21709.id62392.diff
Sun, May 17, 10:58 PM
F157011503: D21709.id62392.diff
Sun, May 17, 10:57 PM
Unknown Object (File)
Fri, May 15, 6:02 AM
Unknown Object (File)
Sun, May 10, 10:48 AM
Unknown Object (File)
Wed, May 6, 1:36 AM
Unknown Object (File)
Thu, Apr 30, 6:14 PM
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