[LTP] [RFC PATCH] fallocate05: increase the fallocate and defallocate size
Ralph Siemsen
ralph.siemsen@linaro.org
Mon Sep 27 03:37:31 CEST 2021
On Sun, Sep 26, 2021 at 03:39:35PM +0800, Li Wang wrote:
>
>However, unlimit tmpfs-size does not mean set .dev_min_size to zero.
>It should be returned mnt_data directly in limit_tmpfs_mount_size.
>That also does the 20210524 version.
This was my mistake - I had assumed 0 means unlimited - my apologies.
I have now amended the limit_tmpfs_mount_size() function as suggested.
And also the other two suggestions from your follow-up emails.
The tmpfs test now appears to be passing.
Regards,
Ralph
OMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 1939 -n 1939 -p -f /ltp-tmp/ltp-NH5QtKmmxA/alltests -l /home/root/test-definitions/automated/linux/ltp/output/LTP_syscalls.log -C
/home/root/test-definitions/automated/linux/ltp/output/LTP_syscalls.failed -T /opt/ltp/output/LTP_RUN_ON-LTP_syscalls.log.tconf
INFO: Restricted to fallocate05
LOG File: /home/root/test-definitions/automated/linux/ltp/output/LTP_syscalls.log
FAILED COMMAND File: /home/root/test-definitions/automated/linux/ltp/output/LTP_syscalls.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-LTP_syscalls.log.tconf
Running tests.......
tst_device.c:88: TINFO: Found free device 0 '/dev/loop0'
tst_supported_fs_types.c:147: TINFO: Skipping ext2 as requested by the test
tst_supported_fs_types.c:147: TINFO: Skipping ext3 as requested by the test
tst_supported_fs_types.c:147: TINFO: Skipping ext4 as requested by the test
tst_supported_fs_types.c:147: TINFO: Skipping xfs as requested by the test
tst_supported_fs_types.c:147: TINFO: Skipping btrfs as requested by the test
tst_supported_fs_types.c:147: TINFO: Skipping vfat as requested by the test
tst_supported_fs_types.c:115: TINFO: Filesystem exfat is not supported
tst_supported_fs_types.c:147: TINFO: Skipping ntfs as requested by the test
tst_supported_fs_types.c:89: TINFO: Kernel supports tmpfs
tst_supported_fs_types.c:38: TINFO: mkfs is not needed for tmpfs
tst_test.c:1433: TINFO: Testing on tmpfs
tst_test.c:934: TINFO: Skipping mkfs for TMPFS filesystem
tst_test.c:1365: TINFO: Timeout per run is 0h 15m 00s
devtmpfs on /dev type devtmpfs (rw,relatime,size=87560k,nr_inodes=21890,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /var/volatile type tmpfs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=17716k,mode=700)
ltp-tmpfs on /ltp-tmp/ltp-NH5QtKmmxA/falDMCkys/mntpoint type tmpfs (rw,relatime)
tst_fill_fs.c:32: TINFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: TINFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: TINFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: TINFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: TINFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:59: TINFO: write(): ENOSPC (28)
fallocate05.c:83: TPASS: write() wrote 1048576 bytes
fallocate05.c:104: TINFO: fallocate()d 0 extra blocks on full FS
fallocate05.c:116: TPASS: fallocate() on full FS
fallocate05.c:132: TPASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)
fallocate05.c:138: TPASS: write()
Summary:
passed 4
failed 0
broken 0
skipped 0
warnings 0
More information about the ltp
mailing list