From: Jan Kara <jack@suse.cz>
To: Zheng Liu <gnehzuil.liu@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [BUG][data=journal] WARN_ON(PageChecked(page)) in ext4_releasepage() when we run xfstests #247
Date: Thu, 7 Mar 2013 13:46:27 +0100 [thread overview]
Message-ID: <20130307124627.GE6723@quack.suse.cz> (raw)
In-Reply-To: <20130307123356.GD2800@gmail.com>
On Thu 07-03-13 20:33:57, Zheng Liu wrote:
> Hi all,
>
> I hit this WARN_ON in 3.8 kernel and dev branch. The WARN_ON is hard to
> be triggerred because I run test case 8 times to hit it. Here is the
> messages from dmesg.
>
> *One Big Note*
> Although we get the warning message, the test can pass.
I think I see what's happening. This should be harmless since page likely
has PageDirty set as well and it won't be invalidated. But it's good to fix
the warning anyway. I'll send a patch in a while.
Honza
> wenqing: run xfstest 247
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Not tainted 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d66 ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d67 ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d68 ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d69 ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d6a ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d6b ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d6c ]---
> kernel: ------------[ cut here ]------------
> kernel: WARNING: at fs/ext4/inode.c:2926 ext4_releasepage+0x74/0xa4 [ext4]()
> kernel: Hardware name: OptiPlex 780
> kernel: Modules linked in: ext4 jbd2 crc16 cpufreq_ondemand ipv6 dm_mirror
> dm_region_hash dm_log dm_mod parport_pc parport dcdbas acpi_cpufreq mperf
> serio_raw pcspkr i2c_i801 i2c_core sg ehci_pci ehci_hcd button e1000e ext3
> jbd sd_mod ahci libahci libata scsi_mod uhci_hcd
> kernel: Pid: 6063, comm: dd Tainted: G W 3.8.0 #1
> kernel: Call Trace:
> kernel: [<ffffffff82031d68>] warn_slowpath_common+0x85/0x9d
> kernel: [<ffffffff82031d9a>] warn_slowpath_null+0x1a/0x1c
> kernel: [<ffffffffa01fe8c8>] ext4_releasepage+0x74/0xa4 [ext4]
> kernel: [<ffffffff820afb0e>] try_to_release_page+0x36/0x3f
> kernel: [<ffffffff820baedf>] invalidate_inode_pages2_range+0x168/0x270
> kernel: [<ffffffff820b14ea>] generic_file_direct_write+0xb8/0x16a
> kernel: [<ffffffff820b17a5>] __generic_file_aio_write+0x209/0x2ef
> kernel: [<ffffffffa01f8a49>] ext4_file_write+0x29e/0x38d [ext4]
> kernel: [<ffffffff820edb2c>] do_sync_write+0x9d/0xda
> kernel: [<ffffffff820ee574>] vfs_write+0xb3/0x138
> kernel: [<ffffffff820ee6cd>] sys_write+0x54/0x7e
> kernel: [<ffffffff82386942>] system_call_fastpath+0x16/0x1b
> kernel: ---[ end trace 5372b37668057d6d ]---
>
> ......
> [snip]
>
> Regards,
> - Zheng
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2013-03-07 12:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-07 12:33 [BUG][data=journal] WARN_ON(PageChecked(page)) in ext4_releasepage() when we run xfstests #247 Zheng Liu
2013-03-07 12:46 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130307124627.GE6723@quack.suse.cz \
--to=jack@suse.cz \
--cc=gnehzuil.liu@gmail.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.