btrfs: incremental send after moving directories around
authorFilipe Manana <fdmanana@suse.com>
Sat, 2 Jul 2016 12:32:08 +0000 (13:32 +0100)
committerEryu Guan <eguan@redhat.com>
Tue, 12 Jul 2016 10:27:17 +0000 (18:27 +0800)
commitbaa017a14b8a5eb6e4c268dd678f12b594020e2c
tree059978385edffa770cc4e78dde0891451d86c02a
parent20abd130a8daa423adc0b62aa4aaca1b03549eab
btrfs: incremental send after moving directories around

Test that an incremental send operation works after doing radical
changes in the directory hierarchy that involve switching the inode
that directory entries point to.

This test exercises scenarios used to fail in btrfs and are fixed by
the following patches for the linux kernel:

 "Btrfs: send, fix failure to move directories with the same name around"
 "Btrfs: incremental send, fix invalid paths for rename operations"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/127 [new file with mode: 0755]
tests/btrfs/127.out [new file with mode: 0644]
tests/btrfs/group