]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
shared/298: Wire btrfs support in get_free_sectors
authorNikolay Borisov <nborisov@suse.com>
Fri, 22 Feb 2019 10:04:25 +0000 (12:04 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sat, 23 Feb 2019 10:14:13 +0000 (18:14 +0800)
commit0680ff2ea5313b38fada5491b51c4e90883dd91d
treed2979abbc7b4b752beab8e9d2fdc9f1677b1c261
parent202779bc0989357470fd1e6e6084c1a445e52ec5
shared/298: Wire btrfs support in get_free_sectors

Add support for btrfs in shared/298. Achieve this by introducing 2
new awk scripts that parse relevant btrfs structures and print holes.
Additionally modify the test to create larger - 3gb filesystem in the
case of btrfs. This is needed so that distinct block groups are used
for data and metadata.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/parse-dev-tree.awk [new file with mode: 0755]
src/parse-extent-tree.awk [new file with mode: 0755]
tests/shared/298