btrfs: test incremental send with directory renames
authorFilipe Manana <fdmanana@suse.com>
Wed, 1 Apr 2015 00:31:24 +0000 (11:31 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 1 Apr 2015 00:31:24 +0000 (11:31 +1100)
commita752266d749e48ad7cbdc61f4de7ec81998e91e5
treef6a7c0ec5587bbede713c06d4fc8be9398a37276
parent672a9f0e12e2f0648af4f2d5e4bca122c743bd81
btrfs: test incremental send with directory renames

Test for incremental send where the difference between the parent and
child snapshots is that a directory A was renamed and a directory B was
renamed to the name directory A had before (in the parent snapshot),
but directory A's rename must happen before some other directory C is
renamed.

This issue was fixed by the following linux kernel btrfs patch:

  Btrfs: incremental send, don't rename a directory too soon

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/083 [new file with mode: 0755]
tests/btrfs/083.out [new file with mode: 0644]
tests/btrfs/group