Files
apfstests/tests/btrfs/group
T
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

51 lines
811 B
Plaintext

# QA groups control file
# Defines test groups and nominal group owners
# - do not start group names with a digit
# - comment line before each group is "new" description
#
001 auto quick
002 auto
003 auto
004 auto rw metadata
005 auto
006 auto quick
007 auto rw metadata
008 auto quick
009 auto quick
010 auto quick
011 auto
012 auto
013 auto quick
014 auto
015 auto quick
016 auto quick
017 auto quick
018 auto quick
019 auto quick
020 auto quick
021 auto quick
022 auto
023 auto
024 auto quick
025 auto quick
026 auto quick
027 auto quick
028 auto quick
029 auto quick
030 auto quick
031 auto quick
032 auto quick
033 auto quick
034 auto quick
035 auto quick
036 auto quick
037 auto quick
038 auto quick
039 auto quick
040 auto quick
041 auto quick
042 auto quick
043 auto quick
044 auto quick
045 auto quick