]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: add test for btrfs incremental send
authorFilipe David Borba Manana <fdmanana@gmail.com>
Fri, 4 Apr 2014 06:16:41 +0000 (17:16 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 4 Apr 2014 06:16:41 +0000 (17:16 +1100)
commitc99c8478f234aa3b9e57940d95d4126d554e5478
tree3a416d41009b713985ab4ad3bc1d32d40464b264
parentbb2499e872a09feedbdda7bc2912b348d8c1a1f3
btrfs: add test for btrfs incremental send

Regression test for a btrfs incremental send issue where invalid paths for
utimes, chown and chmod operations were sent to the send stream, causing
btrfs receive to fail.

If a directory had a move/rename operation delayed, and none of its parent
directories, except for the immediate one, had delayed move/rename operations,
after processing the directory's references, the incremental send code would
issue invalid paths for utimes, chown and chmod operations.

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

    Btrfs: fix send issuing outdated paths for utimes, chown and chmod

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/044 [new file with mode: 0644]
tests/btrfs/044.out [new file with mode: 0644]
tests/btrfs/group