btrfs: add fstrim test case on the sprout device
authorAnand Jain <anand.jain@oracle.com>
Mon, 3 May 2021 11:08:00 +0000 (19:08 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 16 May 2021 14:42:09 +0000 (22:42 +0800)
commitfcd74c405bb67b66094c9ca860922d1681564724
treeaa2eba4eb7a3839483c5bba07b557e63a897cb34
parent18d4e9c7bfdf27a178b524dc5a1292a28a54ad1b
btrfs: add fstrim test case on the sprout device

Add fstrim test case on the sprout device, verify seed device
integrity. Targeting kernel commit 5e753a817b2d ("btrfs: fix
unmountable seed device after fstrim")

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/238 [new file with mode: 0755]
tests/btrfs/238.out [new file with mode: 0644]
tests/btrfs/group