btrfs-progs/tests/cli-tests
David Sterba 88f4bcb351 btrfs-progs: test: add simple test for defrag recursion depth
The documentation lacks clarity about depth to which recursive
defragmentation go, and was pointed out by a user.

The problem here is that the subvolume behaves the same as mount point
regarding path traversal. The nftw stops on mount boundary (FTW_MOUNT).

Add test that verifies this behaviour. Defrag has to be updated to allow
descending to subvolumes (and not mountpoints).

Issue: #185
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-04 02:06:35 +02:00
..
001-btrfs btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests 2018-02-13 15:41:32 +01:00
002-balance-full-no-filters btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
003-fi-resize-args btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
004-send-parent-multi-subvol btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
005-qgroup-show btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
006-qgroup-show-sync btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
007-check-force btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
008-subvolume-get-set-default btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
009-btrfstune btrfs-progs: switch to mkfs helper 2019-06-05 20:27:32 +02:00
010-subvol-show-qgroup btrfs-progs: tests: simple test for subvol show output 2019-07-03 13:31:15 +02:00
011-defrag-recursion btrfs-progs: test: add simple test for defrag recursion depth 2019-07-04 02:06:35 +02:00