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>
This commit is contained in:
Filipe Manana
2016-07-02 13:32:08 +01:00
committed by Eryu Guan
parent 20abd130a8
commit baa017a14b
3 changed files with 266 additions and 0 deletions
+1
View File
@@ -129,3 +129,4 @@
124 auto replace
125 auto replace
126 auto quick qgroup
127 auto quick send