]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/fs/zfs.h
Separate warning for incomplete and corrupt streams
authorPaul Dagnelie <pcd@delphix.com>
Tue, 17 Mar 2020 17:30:33 +0000 (10:30 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Mar 2020 17:30:33 +0000 (10:30 -0700)
commit7145123b0ae4d625a419ee357a0df9467b1e8311
treed09d3799ab5b2326200f95a32c78b7c8cbfb7625
parent5b3b79559c3206ea5916cbdab72b88344aa6e9a2
Separate warning for incomplete and corrupt streams

This change adds a separate return code to zfs_ioc_recv that is used
for incomplete streams, in addition to the existing return code for
streams that contain corruption.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes #10122
contrib/pyzfs/libzfs_core/_constants.py
contrib/pyzfs/libzfs_core/_error_translation.py
contrib/pyzfs/libzfs_core/exceptions.py
contrib/pyzfs/libzfs_core/test/test_libzfs_core.py
include/sys/fs/zfs.h
lib/libzfs/libzfs_sendrecv.c
module/zfs/dmu_recv.c
tests/zfs-tests/cmd/libzfs_input_check/libzfs_input_check.c