FYI, we noticed the following commit:
commit: acdda3aae146d9b69d30e9d8a32a8d8937055523 ("xfs: use iomap_dio_rw")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
in testcase: xfstests
with following parameters:
disk: 4HDD
fs: xfs
test: generic-mid1
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: 24 threads Westmere-EP with 16G memory
caused below changes:
[ 700.460773] XFS (sdf1): Mounting V5 Filesystem
[ 700.619048] XFS (sdf1): Ending clean mount
[ 701.352337] ------------[ cut here ]------------
[ 701.357125] WARNING: CPU: 0 PID: 16179 at fs/iomap.c:950 iomap_dio_rw+0x3b7/0x3d0
[ 701.366771] Modules linked in:
[ 701.369680] ipmi_devintf dm_mod ses enclosure rpcsec_gss_krb5 auth_rpcgss nfsv4
dns_resolver btrfs xor raid6_pq sr_mod sd_mod cdrom ata_generic sg pata_acpi
intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul
crc32c_intel ghash_clmulni_intel snd_pcm mptsas pata_jmicron snd_timer aesni_intel
mptscsih ahci snd mptbase soundcore libahci lrw ppdev gf128mul glue_helper ablk_helper
serio_raw pcspkr i7core_edac scsi_transport_sas cryptd libata ipmi_si edac_core parport_pc
shpchp parport ipmi_msghandler acpi_cpufreq ip_tables
[ 701.420836] CPU: 12 PID: 16179 Comm: fio Not tainted 4.9.0-rc1-00077-gacdda3a #1
[ 701.421787] Hardware name: Supermicro X8DTN/X8DTN, BIOS 4.6.3 01/06/2010
[ 701.421787] ffffc9000ebabcc8 ffffffff81466609 0000000000000000 0000000000000000
[ 701.421787] ffffc9000ebabd08 ffffffff810802fb 000003b60ebabce8 ffffffff81279cef
[ 701.421787] ffff8802215a3840 ffffc9000ebabe70 ffff88021dd00000 ffffffff812788a0
[ 701.421787] Call Trace:
[ 701.421787] [<ffffffff81466609>] dump_stack+0x63/0x8a
[ 701.421787] [<ffffffff810802fb>] __warn+0xcb/0xf0
[ 701.421787] [<ffffffff81279cef>] ? iomap_dio_rw+0x25f/0x3d0
[ 701.421787] [<ffffffff812788a0>] ? iomap_dio_zero+0x120/0x120
[ 701.421787] [<ffffffff810803ed>] warn_slowpath_null+0x1d/0x20
[ 701.421787] [<ffffffff81279e47>] iomap_dio_rw+0x3b7/0x3d0
[ 701.421787] [<ffffffff812788a0>] ? iomap_dio_zero+0x120/0x120
[ 701.421787] [<ffffffff8122ee34>] ? file_update_time+0xa4/0xf0
[ 701.421787] [<ffffffff8139320a>] xfs_file_dio_aio_write+0xda/0x1f0
[ 701.421787] [<ffffffff813935e8>] xfs_file_write_iter+0x98/0x150
[ 701.421787] [<ffffffff81211b47>] __vfs_write+0xc7/0x140
[ 701.421787] [<ffffffff812121b5>] vfs_write+0xb5/0x1a0
[ 701.421787] [<ffffffff81213656>] SyS_pwrite64+0x76/0x90
[ 701.421787] [<ffffffff81955fb7>] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 701.541969] ---[ end trace dd0e384b2bd64dda ]---
[ 702.038468] ------------[ cut here ]------------
[ 702.043251] WARNING: CPU: 0 PID: 16195 at fs/iomap.c:892 iomap_dio_rw+0x192/0x3d0
[ 702.052874] Modules linked in:
[ 702.055770] ipmi_devintf dm_mod ses enclosure rpcsec_gss_krb5 auth_rpcgss nfsv4
dns_resolver btrfs xor raid6_pq sr_mod sd_mod cdrom ata_generic sg pata_acpi
intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul
crc32c_intel ghash_clmulni_intel snd_pcm mptsas pata_jmicron snd_timer aesni_intel
mptscsih ahci snd mptbase soundcore libahci lrw ppdev gf128mul glue_helper ablk_helper
serio_raw pcspkr i7core_edac scsi_transport_sas cryptd libata ipmi_si edac_core parport_pc
shpchp parport ipmi_msghandler acpi_cpufreq ip_tables
[ 702.107631] CPU: 12 PID: 16195 Comm: fio Tainted: G W
4.9.0-rc1-00077-gacdda3a #1
[ 702.108625] Hardware name: Supermicro X8DTN/X8DTN, BIOS 4.6.3 01/06/2010
[ 702.108625] ffffc90001c3fcc8 ffffffff81466609 0000000000000000 0000000000000000
[ 702.108625] ffffc90001c3fd08 ffffffff810802fb 0000037c377aafd0 0000000000030800
[ 702.108625] ffff88043b9dc0c0 ffffc90001c3fe70 ffff8804377aae58 0000000000000000
[ 702.108625] Call Trace:
[ 702.108625] [<ffffffff81466609>] dump_stack+0x63/0x8a
[ 702.108625] [<ffffffff810802fb>] __warn+0xcb/0xf0
[ 702.108625] [<ffffffff810803ed>] warn_slowpath_null+0x1d/0x20
[ 702.108625] [<ffffffff81279c22>] iomap_dio_rw+0x192/0x3d0
[ 702.108625] [<ffffffff8122ee34>] ? file_update_time+0xa4/0xf0
[ 702.108625] [<ffffffff81392f9e>] ? xfs_file_aio_write_checks+0x13e/0x1a0
[ 702.108625] [<ffffffff8139320a>] xfs_file_dio_aio_write+0xda/0x1f0
[ 702.108625] [<ffffffff813935e8>] xfs_file_write_iter+0x98/0x150
[ 702.108625] [<ffffffff81211b47>] __vfs_write+0xc7/0x140
[ 702.108625] [<ffffffff812121b5>] vfs_write+0xb5/0x1a0
[ 702.108625] [<ffffffff81213656>] SyS_pwrite64+0x76/0x90
[ 702.108625] [<ffffffff81955fb7>] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 702.219173] ---[ end trace dd0e384b2bd64ddb ]---
To reproduce:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong