btrfs: incremental send after replacing a file
authorFilipe Manana <fdmanana@suse.com>
Wed, 14 Oct 2015 03:07:42 +0000 (14:07 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 14 Oct 2015 03:07:42 +0000 (14:07 +1100)
commit88b71e7bffc90fcd2a97d8d8bdcd5b82e2f50640
tree121f94243d54ff8c7d44caa6c7038c7c61342349
parent4067308c8f7a19a5faf37a02e91ac9d71308b29b
btrfs: incremental send after replacing a file

Test that an incremental send works after a file from the parent snapshot
gets replaced in the send snapshot by another one at the same exact
location, with the same name and with the same inode number.

This test used to fail after the linux kernel commit 8b191a684968
("Btrfs: incremental send, check if orphanized dir inode needs delayed
rename") and it's fixed by patch titled:

  "Btrfs: send, fix corner case for reference overwrite detection"

Signed-off-by: Martin Raiber <martin@urbackup.org>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/105 [new file with mode: 0755]
tests/btrfs/105.out [new file with mode: 0644]
tests/btrfs/group