]> granicus.if.org Git - zfs/commit
Fix incorrect error message for raw receive
authorTom Caputi <tcaputi@datto.com>
Mon, 10 Jun 2019 16:45:08 +0000 (12:45 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 10 Jun 2019 16:45:08 +0000 (09:45 -0700)
commitc08c30ed131800635576282e1d142b12fa33c76b
treeda39eb44af7221d16aa8404dee9c83c16a98cd9f
parentcfc16f8ba8e6e35fc4651059ee95abbb8bf92f62
Fix incorrect error message for raw receive

This patch fixes an incorrect error message that comes up when
doing a non-forcing, raw, incremental receive into a dataset
that has a newer snapshot than the "from" snapshot. In this
case, the current code prints a confusing message about an IVset
guid mismatch.

This functionality is supported by non-raw receives as an
undocumented feature, but was never supported by the raw receive
code. If this is desired in the future, we can probably figure
out a way to make it work.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Issue #8758
Closes #8863
module/zfs/dmu_recv.c