ltp-syscalls: fallocate05 fails with btrfs on ppc64el

Bug #1783880 reported by Thadeu Lima de Souza Cascardo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Fix Released
Medium
Unassigned
Cosmic
Won't Fix
Medium
Unassigned

Bug Description

This affects at least bionic and cosmic proposed kernels.

This affects only ppc64el. My guess is the reason is the page size. In fact, changing the fallocate size to 64KiB, the test works.

tst_test.c:1079: INFO: Testing on btrfs
tst_mkfs.c:83: INFO: Formatting /dev/loop1 with btrfs opts='' extra opts=''
tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
tst_fill_fs.c:41: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:41: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:41: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:41: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:41: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:41: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:41: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:61: INFO: write(): ENOSPC
fallocate05.c:62: PASS: write() wrote 32768 bytes
fallocate05.c:71: PASS: fallocate() on full FS: ENOSPC
fallocate05.c:78: BROK: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE): ENOSPC

Changed in linux (Ubuntu Cosmic):
importance: Undecided → Medium
status: New → Confirmed
Changed in linux (Ubuntu Bionic):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue confirmed with 4.15.0-38.41-generic, with node "modoc", "entei" (power8) and baltar (power9)

tags: added: bionic cosmic ppc64el
Changed in ubuntu-kernel-tests:
status: New → Confirmed
Po-Hsu Lin (cypressyew)
tags: added: ppc64le ubuntu-ltp-syscalls
Po-Hsu Lin (cypressyew)
tags: added: sru-20190812
tags: added: xenial
Po-Hsu Lin (cypressyew)
tags: removed: xenial
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Cosmic):
status: Confirmed → Invalid
status: Invalid → Won't Fix
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (6.7 KiB)

fallocate05 passed on P8/P9 Bionic (4.15.0-88.88):
<<<test_start>>>
tag=fallocate05 stime=1581659795
cmdline="fallocate05"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_device.c:244: INFO: Using test device LTP_DEV='/dev/loop0'
tst_device.c:282: INFO: Skipping $LTP_DEV size 256MB, requested size 512MB
tst_device.c:88: INFO: Found free device 1 '/dev/loop1'
tst_supported_fs_types.c:59: INFO: Kernel supports ext2
tst_supported_fs_types.c:43: INFO: mkfs.ext2 does exist
tst_supported_fs_types.c:59: INFO: Kernel supports ext3
tst_supported_fs_types.c:43: INFO: mkfs.ext3 does exist
tst_supported_fs_types.c:59: INFO: Kernel supports ext4
tst_supported_fs_types.c:43: INFO: mkfs.ext4 does exist
tst_supported_fs_types.c:59: INFO: Kernel supports xfs
tst_supported_fs_types.c:43: INFO: mkfs.xfs does exist
tst_supported_fs_types.c:59: INFO: Kernel supports btrfs
tst_supported_fs_types.c:43: INFO: mkfs.btrfs does exist
tst_supported_fs_types.c:59: INFO: Kernel supports vfat
tst_supported_fs_types.c:43: INFO: mkfs.vfat does exist
tst_supported_fs_types.c:82: INFO: Filesystem exfat is not supported
tst_test.c:1278: INFO: Testing on ext2
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext2 opts='' extra opts=''
mke2fs 1.44.1 (24-Mar-2018)
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
fallocate05.c:62: CONF: fallocate() not supported: EOPNOTSUPP (95)
tst_test.c:1278: INFO: Testing on ext3
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext3 opts='' extra opts=''
mke2fs 1.44.1 (24-Mar-2018)
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
fallocate05.c:62: CONF: fallocate() not supported: EOPNOTSUPP (95)
tst_test.c:1278: INFO: Testing on ext4
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext4 opts='' extra opts=''
mke2fs 1.44.1 (24-Mar-2018)
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 76896492
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 72228649
tst_fill_fs.c:32: INFO: Creating file mntpoint/file9 size 36207821
tst_fill_fs.c:32: INFO: Creating file mntpoint/file10 size 81483962
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate05.c:77: PASS: write() wrote 65536 bytes
fallocate05.c:99: INFO: fallocate()d 0 extra blocks on full FS
fallocate05.c:110: PASS: fallocate() on full FS
fallocate05.c:126: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)
fallocate05.c:132: PASS: write()
tst_test.c:1278: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with xfs opts='' extra opts=''
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_f...

Read more...

Changed in ubuntu-kernel-tests:
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in linux (Ubuntu Bionic):
status: Confirmed → Fix Released
tags: added: 4.15
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.