zfs send rebase

Review Request #191 - Created March 30, 2015 and submitted

Information
Matthew Ahrens
illumos-gate
546a29a...
Reviewers
pdagnelie
TODO:
add tests to illumos runfiles
remove rebase support?

36768 Allow zfs incremental sends between snapshots that are not direct descendants/ancestors

Conflicts:
	usr/src/cmd/zfs/zfs_main.c
	usr/src/man/man1m/zfs.1m
	usr/src/uts/common/Makefile.files
	usr/src/uts/common/fs/zfs/dbuf.c
	usr/src/uts/common/fs/zfs/dmu_send.c
	usr/src/uts/common/fs/zfs/dmu_traverse.c
	usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
	usr/src/uts/common/fs/zfs/zap.c

Original author: Paul Dagnelie

also:

commit 16daff7e07eba832690df16de4a5de4b3c65dd65
Author: Paul Dagnelie <pcd@delphix.com\>
Date:   Sat Oct 25 16:08:29 2014 -0700

    38646 zfs rebase send fails with ENOENT if there is a hole in an object in the fromsnap and that object isn't in the tosnap
    38554 zfs send -b ("rebase") panics on reallocated object
    38555 zfs send -b ("rebase") silent data corruption

    Conflicts:
        usr/src/uts/common/fs/zfs/dmu_send.c

commit 85e84c52b9a26d8089a8598c83e6e3201a6bfd11
Author: Paul Dagnelie <pcd@delphix.com\>
Date:   Sat Oct 25 15:46:43 2014 -0700

    38449 error cases in zfs send result in leaked pool hold
    38552 zfs send -b ("rebase") allows fromsnap to be destroyed while send is in progress
    38576 Kernel panic in zfs send rebase if from_ds is destroyed before sending.

    Conflicts:
        usr/src/pkg/manifests/system-test-zfstest.mf
        usr/src/test/zfs-tests/runfiles/delphix.run
        usr/src/test/zfs-tests/tests/functional/rsend/Makefile
        usr/src/uts/common/fs/zfs/dmu_send.c

commit 64f28e868377084ce03c72fc3da36c8976036ee4
Author: Paul Dagnelie <pcd@delphix.com\>
Date:   Fri Sep 19 16:23:55 2014 -0700

    37796 Combine zbookmark_compare with zbookmark_is_before

commit fe99a48333331420afd21751570a757da3ee2991
Author: Prakash Surya <prakash.surya@delphix.com\>
Date:   Fri Aug 29 12:06:16 2014 -0700

    37378 zfs send can no longer be cancelled with ctrl-c (fix indentation)

commit 1ca9327c34d0f87601f1de001d77242b9b37f91b
Author: Paul Dagnelie <pcd@delphix.com\>
Date:   Wed Aug 27 09:29:28 2014 -0700

    37378 zfs send can no longer be cancelled with ctrl-c
http://jenkins.delphix.com/job/zfs-precommit/2053/
Matthew Ahrens
Matthew Ahrens
Review request changed

Status: Closed (submitted)

Loading...