Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 2fa482b890bea511f691f90c61b35c822fe179f0 ("[PATCH] iomap: Ensure iop->uptodate matches PageUptodate") url: https://github.com/0day-ci/linux/commits/Matthew-Wilcox-Oracle/iomap-Ensure-iop-uptodate-matches-PageUptodate/20200726-171340 base: https://git.kernel.org/cgit/fs/xfs/xfs-linux.git for-next in testcase: xfstests with following parameters: disk: 4HDD fs: xfs test: generic-group05 test-description: xfstests is a regression test suite for xfs and other files ystems. test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +-------------------------------------------------------+------------+------------+ | | 9f347d7a7e | 2fa482b890 | +-------------------------------------------------------+------------+------------+ | boot_successes | 6 | 4 | | boot_failures | 0 | 16 | | WARNING:at_fs/iomap/buffered-io.c:#iomap_page_release | 0 | 16 | | RIP:iomap_page_release | 0 | 16 | +-------------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [ 64.812624] WARNING: CPU: 0 PID: 31096 at fs/iomap/buffered-io.c:78 iomap_page_release+0xb9/0xd0 [ 64.814332] Modules linked in: xfs libcrc32c dm_mod sr_mod cdrom bochs_drm sg ata_generic drm_vram_helper drm_ttm_helper intel_rapl_msr intel_rapl_common ttm crct10dif_pclmul drm_kms_helper crc32_pclmul crc32c_intel syscopyarea ipmi_devintf sysfillrect ipmi_msghandler ghash_clmulni_intel sysimgblt fb_sys_fops ata_piix ppdev drm joydev serio_raw libata parport_pc i2c_piix4 parport ip_tables [ 64.826546] CPU: 0 PID: 31096 Comm: umount Not tainted 5.8.0-rc4-00117-g2fa482b890bea #1 [ 64.828357] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 64.831332] RIP: 0010:iomap_page_release+0xb9/0xd0 [ 64.832790] Code: e0 07 83 f8 04 75 a4 48 8b 47 08 8b 80 d0 00 00 00 83 e8 01 83 f8 01 77 92 e8 03 f0 eb ff eb 91 e8 6c ef eb ff eb 8a 5b 5d c3 <0f> 0b eb c0 0f 0b eb 92 0f 0b eb 87 66 66 2e 0f 1f 84 00 00 00 00 [ 64.838790] RSP: 0018:ffffaceacbbd3bc8 EFLAGS: 00010202 [ 64.840355] RAX: 0000000000000001 RBX: fffff6d70f6d6740 RCX: fffff6d70f4c0607 [ 64.842930] RDX: 0000000000000000 RSI: 0000000000000000 RDI: fffff6d70f6d6740 [ 64.845282] RBP: ffff891aac234a00 R08: ffffaceacbbd3c18 R09: ffff8917c7770538 [ 64.846996] R10: 0000000000000000 R11: 0000000000000000 R12: ffffaceacbbd3d10 [ 64.849610] R13: ffffaceacbbd3c90 R14: ffffaceacbbd3c18 R15: 0000000000000001 [ 64.851311] FS: 00007fa0d735d080(0000) GS:ffff891affc00000(0000) knlGS:0000000000000000 [ 64.854247] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.855849] CR2: 00007fa0d77e1580 CR3: 00000003ec9d2000 CR4: 00000000000406f0 [ 64.858557] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.860273] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.863865] Call Trace: [ 64.866122] truncate_cleanup_page+0x42/0xc0 [ 64.867574] truncate_inode_pages_range+0x232/0x850 [ 64.869704] ? update_load_avg+0x78/0x650 [ 64.871102] ? lock_timer_base+0x61/0x80 [ 64.873003] ? add_timer+0x111/0x210 [ 64.874342] ? __inode_wait_for_writeback+0x7e/0xf0 [ 64.876536] ? var_wake_function+0x20/0x20 [ 64.877922] evict+0x19a/0x1b0 [ 64.879643] dispose_list+0x48/0x70 [ 64.881495] evict_inodes+0x180/0x1e0 [ 64.882816] generic_shutdown_super+0x37/0x110 [ 64.884811] kill_block_super+0x21/0x50 [ 64.886145] deactivate_locked_super+0x36/0x70 [ 64.888176] cleanup_mnt+0x104/0x160 [ 64.889481] task_work_run+0x69/0xb0 [ 64.891283] __prepare_exit_to_usermode+0x176/0x180 [ 64.892706] do_syscall_64+0x53/0x80 [ 64.894503] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.895908] RIP: 0033:0x7fa0d7783507 [ 64.897687] Code: Bad RIP value. [ 64.899318] RSP: 002b:00007ffff7067128 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 [ 64.900933] RAX: 0000000000000000 RBX: 000055ceba305970 RCX: 00007fa0d7783507 [ 64.903469] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 000055ceba30a900 [ 64.905085] RBP: 0000000000000000 R08: 000055ceba30e010 R09: 0000000000000000 [ 64.907664] R10: 000055ceba305010 R11: 0000000000000246 R12: 000055ceba30a900 [ 64.909972] R13: 00007fa0d78a91c4 R14: 000055ceba305a68 R15: 000055ceba305b80 [ 64.911506] ---[ end trace d46e79ddc80b2332 ]--- To reproduce: # build kernel cd linux cp config-5.8.0-rc4-00117-g2fa482b890bea .config make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email Thanks, Rong Chen