btrfs: test incremental send after removing a directory and all its files
authorFilipe Manana <fdmanana@suse.com>
Thu, 10 Dec 2020 12:09:17 +0000 (12:09 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sun, 20 Dec 2020 16:18:43 +0000 (00:18 +0800)
commiteabfcdfe90841a003c9ed1724230cd65f659f71c
treea83e767926e13b28a33f6e341787b345bbb606d1
parent9f0744b16961a5b7c29707a44f4d19b76dbaff27
btrfs: test incremental send after removing a directory and all its files

Test that an incremental send operation succeeds, and produces the
correct results, after removing a directory and all its files, unmounting
the filesystem, mounting the filesystem again and creating a new file (or
directory).

This currently fails on btrfs, but is fixed by a patch that has the
following subject:

  btrfs: send, fix wrong file path when there is an inode with a pending rmdir

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/227 [new file with mode: 0755]
tests/btrfs/227.out [new file with mode: 0644]
tests/btrfs/group