Files
apfstests/tests/btrfs
Filipe Manana 1a87439571 btrfs: add test for btrfs send directory moves/renames
Regression test for a btrfs incremental send issue where the kernel failed
to build paths strings. This resulted either in sending a wrong path string
to the send stream or entering an infinite loop when building it.
This happened in the following scenarios:

1) A directory was made a child of another directory which has a lower inode
   number and has a pending move/rename operation or there's some non-direct
   ancestor directory with a higher inode number that was renamed/moved too.
   This made the incremental send code go into an infinite loop when building
   a path string;

2) A directory was made a child of another directory which has a higher inode
   number, but the new parent wasn't moved nor renamed. Instead some other
   ancestor higher in the hierarchy, with an higher inode number too, was
   moved/renamed too. This made the incremental send code go into an infinite
   loop when building a path string;

3) An orphan directory is created and at least one of its non-immediate
   descendent directories have a pending move/rename operation. This made
   an incremental send issue to the send stream an invalid path string that
   didn't account for the orphan ancestor directory.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2014-04-04 17:17:01 +11:00
..
2014-01-20 13:28:38 +11:00
2014-03-13 15:17:44 +11:00
2014-02-18 21:18:20 +11:00
2014-03-13 15:17:44 +11:00
2013-10-12 19:30:19 -05:00
2014-03-13 15:17:44 +11:00
2014-03-13 15:17:44 +11:00
2013-12-03 10:29:29 +11:00
2013-12-03 10:29:31 +11:00
2014-03-13 15:17:44 +11:00
2014-02-03 10:06:14 +11:00
2014-01-24 12:06:45 +11:00
2014-01-24 12:06:45 +11:00
2014-01-24 12:06:45 +11:00
2014-02-03 10:06:41 +11:00
2014-02-03 10:06:41 +11:00
2014-03-13 15:17:44 +11:00
2014-03-13 15:17:44 +11:00
2014-03-13 15:17:44 +11:00
2014-03-13 15:17:44 +11:00
2014-04-04 17:16:41 +11:00