xfs
[Top] [All Lists]

generic/247 triggers warnings occasionally

To: xfs@xxxxxxxxxxx
Subject: generic/247 triggers warnings occasionally
From: Eryu Guan <eguan@xxxxxxxxxx>
Date: Fri, 29 May 2015 14:32:14 +0800
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mutt/1.5.23 (2014-03-12)
Hi all,

I've seen generic/247 trigger the following warning occasionally, on
4.1.0-rc5 kernel. And I can reproduce it back on 4.0.0 kernel.

[60397.806729] run fstests generic/247 at 2015-05-29 13:19:55
[60400.197970] ------------[ cut here ]------------
[60400.199285] WARNING: CPU: 1 PID: 13161 at fs/xfs/xfs_file.c:726 
xfs_file_dio_aio_write+0x176/0x2a8 [xfs]()
[60400.201783] Modules linked in: loop btrfs xor raid6_pq ppdev parport_pc 
i2c_piix4 parport i2c_core pcspkr serio_raw acpi_cpufreq xfs sd_mod ata_generic 
pata_acpi 8139too ata_piix 8139cp libata mii virtio_pci floppy virtio 
virtio_ring
[60400.207266] CPU: 1 PID: 13161 Comm: dd Not tainted 4.1.0-rc5 #61
[60400.208067] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2007
[60400.208734]  0000000000000000 00000000726fc8c5 ffff880213f83cf8 
ffffffff816d825d
[60400.209515]  0000000000000000 0000000000000000 ffff880213f83d38 
ffffffff8107deaa
[60400.210260]  ffffea0007f56140 ffff880213f83e40 ffff8800d661f400 
ffff8800d661f728
[60400.211207] Call Trace:
[60400.211423]  [<ffffffff816d825d>] dump_stack+0x45/0x57
[60400.211860]  [<ffffffff8107deaa>] warn_slowpath_common+0x8a/0xc0
[60400.212385]  [<ffffffff8107dfda>] warn_slowpath_null+0x1a/0x20
[60400.212909]  [<ffffffffa0145f01>] xfs_file_dio_aio_write+0x176/0x2a8 [xfs]
[60400.213507]  [<ffffffff81342978>] ? __clear_user+0x28/0x50
[60400.213981]  [<ffffffffa011291e>] xfs_file_write_iter+0x10e/0x120 [xfs]
[60400.214554]  [<ffffffff811fd721>] __vfs_write+0xd1/0x110
[60400.215004]  [<ffffffff811fddb9>] vfs_write+0xa9/0x1b0
[60400.215454]  [<ffffffff8102472c>] ? do_audit_syscall_entry+0x6c/0x70
[60400.215984]  [<ffffffff811fec65>] SyS_write+0x55/0xd0
[60400.216431]  [<ffffffff816df96e>] system_call_fastpath+0x12/0x71
[60400.216946] ---[ end trace c403c17f7a0c57a7 ]---
[60404.341600] XFS (sda5): Unmounting Filesystem
[60404.512757] XFS (sda5): Mounting V4 Filesystem
[60404.540546] XFS (sda5): Ending clean mount
[60404.609414] XFS (sda5): Unmounting Filesystem

fs/xfs/xfs_file.c:723
   723                  ret = 
invalidate_inode_pages2_range(VFS_I(ip)->i_mapping,
   724                                          pos >> PAGE_CACHE_SHIFT,
   725                                          end >> PAGE_CACHE_SHIFT);
   726                  WARN_ON_ONCE(ret);
   727                  ret = 0;

It can be reproduced by running generic/247 in loop(usually within 100
loops), without any special parameters/options.

        while ./check generic/247; do : ; done

Attachments are my xfstests config file and host info requested by
http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F

Thanks,
Eryu

Attachment: hostinfo
Description: Text document

Attachment: local.config
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>