HomeFreeBSD

Always refuse receving non-resume stream when resume state exists

Description

Always refuse receving non-resume stream when resume state exists

This fixes a hole in the situation where the resume state is left from
receiving a new dataset and, so, the state is set on the dataset itself
(as opposed to %recv child).

Additionally, distinguish incremental and resume streams in error
messages.

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andriy Gapon <avg@FreeBSD.org>
Closes #9252

Details

Provenance
avgAuthored on Sep 3 2019, 5:56 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 3 2019, 5:56 PM
Parents
rG1a504d27df46: ZTS: Fix removal_cancel.ksh
Branches
Unknown
Tags
Unknown