HomeFreeBSD

FreeBSD PR kern/172259: Fixes zfs receive errors

Description

FreeBSD PR kern/172259: Fixes zfs receive errors

FreeBSD PR kern/172259: Fixes zfs receive errors caused by snapshot
replication being processed in a random order instead of creation
order.

Eliminates needless filesystem renames caused by removed parent
snapshots which subsequently causes many more errors.

PR: kern/172259
Submitted by: Steven Hartland
Reviewed by: pjd (mentor)
Approved by: pjd (mentor)
MFC after: 2 weeks

References:

https://github.com/freebsd/freebsd/commit/4995789

Porting notes:

Minor whitespace fixes were made to conform with style requirements:

lib/libzfs/libzfs_sendrecv.c: 2269: indent by spaces instead of tabs
lib/libzfs/libzfs_sendrecv.c: 2270: indent by spaces instead of tabs

Ported-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2729

Details

Provenance
smhAuthored on Dec 13 2012, 10:03 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 2 2014, 11:48 PM
Parents
rG83e9986f6eef: Implement -t option to zpool create for temporary pool names
Branches
Unknown
Tags
Unknown

Event Timeline