Case 3 in fallocate06 for btrfs (Fill FS: no; Use copy on write: yes) from ubuntu_ltp_syscalls failed with 6.5 PowerPC and 64k ARM64

Bug #2045890 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

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 Openstack PowerPC, 64k-ARM64 and J-lowlatency-hwe-6.5 64k-ARM64 as well.

Po-Hsu Lin (cypressyew)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.