aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorAlan Somers <[email protected]>2020-10-02 18:47:09 -0600
committerGitHub <[email protected]>2020-10-02 17:47:09 -0700
commita132c2b413de78981cd958974ad95d3f9cec9dea (patch)
tree458aeeea709d1e1ffd7398d3717146ad69c5a867 /module
parent4d55ea811d4f5b832398f4e3b24c4da365956d62 (diff)
Fix EIO after resuming receive of new dataset over an existing one
When resuming an interrupted ZFS send stream that creates a new dataset with the same name as an existing dataset, if the existing dataset is accessed after the failed receive, then after the subsequent successful receive it will return EIO. This happens because nothing mounts the new dataset, leaving the old, no longer valid dataset still mounted. This commit fixes zfs receive to always unmount and remount the destination, regardless of whether the stream is a new stream or a resumed stream. Sponsored by: Axcient Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Alan Somers <[email protected]> External-issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249579 Closes #10995 Closes #10999
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions