This issue can be found with 6.5.0-12 on Openstack PowerPC and ARM64k (ARM64 is good)
The test will fail with TBROK on the 3rd test case (Case 3. Fill FS: no; Use copy on write: yes) on btrfs: tst_test.c:1634: TINFO: === Testing on btrfs === tst_test.c:1093: TINFO: Formatting /dev/loop3 with btrfs opts='' extra opts='' fallocate06.c:125: TINFO: Copy-on-write is supported fallocate06.c:176: TINFO: Case 1. Fill FS: no; Use copy on write: no fallocate06.c:166: TPASS: write() successful fallocate06.c:210: TPASS: Misaligned allocation works as expected fallocate06.c:166: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) successful fallocate06.c:246: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) cleared the correct file range fallocate06.c:176: TINFO: Case 2. Fill FS: yes; Use copy on write: no tst_fill_fs.c:36: TINFO: Creating file mntpoint/file0 size 21710183 tst_fill_fs.c:36: TINFO: Creating file mntpoint/file1 size 8070086 tst_fill_fs.c:36: TINFO: Creating file mntpoint/file2 size 3971177 tst_fill_fs.c:36: TINFO: Creating file mntpoint/file3 size 36915315 tst_fill_fs.c:36: TINFO: Creating file mntpoint/file4 size 70310993 tst_fill_fs.c:36: TINFO: Creating file mntpoint/file5 size 4807935 tst_fill_fs.c:36: TINFO: Creating file mntpoint/file6 size 90739786 tst_fill_fs.c:63: TINFO: write(): ENOSPC (28) fallocate06.c:166: TPASS: write() successful fallocate06.c:210: TPASS: Misaligned allocation works as expected fallocate06.c:166: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) successful fallocate06.c:246: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) cleared the correct file range fallocate06.c:176: TINFO: Case 3. Fill FS: no; Use copy on write: yes fallocate06.c:178: TBROK: open(mntpoint/test_file,578,0644) failed: ENOSPC (28)
And this issue can be found on J-hwe-6.5 64k-ARM64 as well.
This issue can be found with 6.5.0-12 on Openstack PowerPC and ARM64k (ARM64 is good)
The test will fail with TBROK on the 3rd test case (Case 3. Fill FS: no; Use copy on write: yes) on btrfs: FALLOC_ FL_PUNCH_ HOLE | FALLOC_ FL_KEEP_ SIZE) successful FALLOC_ FL_PUNCH_ HOLE | FALLOC_ FL_KEEP_ SIZE) cleared the correct file range FALLOC_ FL_PUNCH_ HOLE | FALLOC_ FL_KEEP_ SIZE) successful FALLOC_ FL_PUNCH_ HOLE | FALLOC_ FL_KEEP_ SIZE) cleared the correct file range test_file, 578,0644) failed: ENOSPC (28)
tst_test.c:1634: TINFO: === Testing on btrfs ===
tst_test.c:1093: TINFO: Formatting /dev/loop3 with btrfs opts='' extra opts=''
fallocate06.c:125: TINFO: Copy-on-write is supported
fallocate06.c:176: TINFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:166: TPASS: write() successful
fallocate06.c:210: TPASS: Misaligned allocation works as expected
fallocate06.c:166: TPASS: fallocate(
fallocate06.c:246: TPASS: fallocate(
fallocate06.c:176: TINFO: Case 2. Fill FS: yes; Use copy on write: no
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:36: TINFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:63: TINFO: write(): ENOSPC (28)
fallocate06.c:166: TPASS: write() successful
fallocate06.c:210: TPASS: Misaligned allocation works as expected
fallocate06.c:166: TPASS: fallocate(
fallocate06.c:246: TPASS: fallocate(
fallocate06.c:176: TINFO: Case 3. Fill FS: no; Use copy on write: yes
fallocate06.c:178: TBROK: open(mntpoint/
And this issue can be found on J-hwe-6.5 64k-ARM64 as well.