Re: [PATCH 1/1] loop: sync filesystem cache before getting file size in get_size()

From: kernel test robot
Date: Thu Aug 14 2025 - 23:26:27 EST




Hello,

kernel test robot noticed "blktests.loop/004.fail" on:

commit: 081158bd768a2a4b4fc6108abc3d4ee51bfdbf6e ("[PATCH 1/1] loop: sync filesystem cache before getting file size in get_size()")
url: https://github.com/intel-lab-lkp/linux/commits/Rajeev-Mishra/loop-sync-filesystem-cache-before-getting-file-size-in-get_size/20250808-073617
base: https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next
patch link: https://lore.kernel.org/all/20250807232522.192898-1-rajeevm@xxxxxxx/
patch subject: [PATCH 1/1] loop: sync filesystem cache before getting file size in get_size()

in testcase: blktests
version: blktests-x86_64-a08678c-1_20250813
with following parameters:

test: loop-004



config: x86_64-rhel-9.4-func
compiler: gcc-12
test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (Skylake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202508150425.33b5498e-lkp@xxxxxxxxx

2025-08-14 08:21:17 echo loop/004
2025-08-14 08:21:17 ./check loop/004
loop/004 (combine loop direct I/O mode and a custom block size)
loop/004 (combine loop direct I/O mode and a custom block size) [failed]
runtime ... 0.668s
--- tests/loop/004.out 2025-08-13 07:46:30.000000000 +0000
+++ /lkp/benchmarks/blktests/results/nodev/loop/004.out.bad 2025-08-14 08:21:18.595234684 +0000
@@ -1,4 +1,5 @@
Running loop/004
1
-769bd186841c10e5b1106b55986206c0e87fc05a7f565fdee01b5abcaff6ae78 -
+pwrite: No space left on device
+e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -
Test complete



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250815/202508150425.33b5498e-lkp@xxxxxxxxx



--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki