]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: add fstest for overwriting a file partially with RST
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 13 Dec 2023 11:35:30 +0000 (03:35 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 14 Jan 2024 12:39:09 +0000 (20:39 +0800)
commit26990e6db2a6482fe3c178c6ea3c40f3f98680be
treebb0e2e371edd92c5c65d2fb2c4120b7e681742d8
parent477f3f1361255ca076c7005fe87e7b1eb6ed3bd6
btrfs: add fstest for overwriting a file partially with RST

Add a test writing 128k to an empty file with one stripe already
pre-filled on-disk. Then overwrite a portion of the file in the middle.

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/308 [new file with mode: 0755]
tests/btrfs/308.out [new file with mode: 0644]