btrfs: test send for files with multiple hard links renamed
authorFilipe Manana <fdmanana@suse.com>
Fri, 17 Nov 2017 14:49:05 +0000 (14:49 +0000)
committerEryu Guan <eguan@redhat.com>
Tue, 28 Nov 2017 07:26:47 +0000 (15:26 +0800)
commitd0bbfca132b38d3da945dd070e830d66c23a9ff6
tree7351a5ddfe672b9ce7de941bc5734d25b2abf6ce
parent2428c08a6025301b3be28b2c3b8be7afaafe72d6
btrfs: test send for files with multiple hard links renamed

Test that an incremental send operation works if a file that has
multiple hard links has some of its hard links renamed in the send
snapshot, with one of them getting the same path that some other
inode had in the send snapshot.

At the moment this test fails on btrfs and a fix is provived by a
linux kernel patch titled:

  "Btrfs: incremental send, fix wrong unlink path after renaming file"

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/155 [new file with mode: 0755]
tests/btrfs/155.out [new file with mode: 0644]
tests/btrfs/group