]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: add fstest for 8k write spanning two stripes on raid-stripe-tree
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 13 Dec 2023 11:35:27 +0000 (03:35 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 14 Jan 2024 12:39:09 +0000 (20:39 +0800)
commitba96d1853ac0062046ba1bef4861430ccdcecb74
tree3cf1d4339fb241ffa484b43aac6e7ff45b1ed023
parent9d812702919c7540baa58f17a597ba13d4fc4d99
btrfs: add fstest for 8k write spanning two stripes on raid-stripe-tree

Add a test-case writing 8k to a raid-stripe-tree formatted filesystem with
one stripe pre-filled to 60k so the 8k are split into a 4k write finishing
stripe 1 and a 4k write starting the next stripe.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
[Fixed the test statement and trailing white space in the .out file.]
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/305 [new file with mode: 0755]
tests/btrfs/305.out [new file with mode: 0644]