On 2024/5/20 19:48, Guangwu Zhang wrote: > Hi, > I get a xfs error when run xfstests generic/461 testing with > linux-block for-next branch. > looks it easy to reproduce with s390x arch. > > kernel info : > commit 04d3822ddfd11fa2c9b449c977f340b57996ef3d > 6.9.0+ > reproducer > git clone xfstests > ./check generic/461 > > I guess this issue should be fixed by 5ce5674187c3 ("xfs: convert delayed extents to unwritten when zeroing post eof blocks"), please merge this commit series (include 4 patches) and try again. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5ce5674187c345dc31534d2024c09ad8ef29b7ba Yi. > [ 5322.046654] XFS (loop1): Internal error isnullstartblock(got.br_startblock) a > t line 6005 of file fs/xfs/libxfs/xfs_bmap.c. Caller xfs_bmap_insert_extents+0x > 2ee/0x420 [xfs] > [ 5322.046859] CPU: 0 PID: 157526 Comm: fsstress Kdump: loaded Not tainted 6.9.0 > + #1 > [ 5322.046863] Hardware name: IBM 8561 LT1 400 (z/VM 7.2.0) > [ 5322.046864] Call Trace: > [ 5322.046866] [<0000022f504d8fc4>] dump_stack_lvl+0x8c/0xb0 > [ 5322.046876] [<0000022ed00fc308>] xfs_corruption_error+0x70/0xa0 [xfs] > [ 5322.046955] [<0000022ed00b7206>] xfs_bmap_insert_extents+0x3fe/0x420 [xfs] > [ 5322.047024] [<0000022ed00f55a6>] xfs_insert_file_space+0x1be/0x248 [xfs] > [ 5322.047105] [<0000022ed00ff1dc>] xfs_file_fallocate+0x244/0x400 [xfs] > [ 5322.047186] [<0000022f4fe90000>] vfs_fallocate+0x218/0x338 > [ 5322.047190] [<0000022f4fe9112e>] ksys_fallocate+0x56/0x98 > [ 5322.047193] [<0000022f4fe911aa>] __s390x_sys_fallocate+0x3a/0x48 > [ 5322.047196] [<0000022f505019d2>] __do_syscall+0x23a/0x2c0 > [ 5322.047200] [<0000022f50511d20>] system_call+0x70/0x98 > [ 5322.054644] XFS (loop1): Corruption detected. Unmount and run xfs_repair > [ 5322.977488] XFS (loop1): User initiated shutdown received. > [ 5322.977505] XFS (loop1): Log I/O Error (0x6) detected at xfs_fs_goingdown+0xb > 4/0xf8 [xfs] (fs/xfs/xfs_fsops.c:458). Shutting down filesystem. > [ 5322.977772] XFS (loop1): Please unmount the filesystem and rectify the proble > m(s) > [ 5322.977877] loop1: writeback error on inode 755831, offset 32768, sector 1804 > 712 > 00:00:00 > > > . >