From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 86471] drastic reduction of write performance after the termination of mysqld
Date: Fri, 24 Oct 2014 15:14:55 +0000 [thread overview]
Message-ID: <bug-86471-13602-LEC3CccjRC@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-86471-13602@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=86471
--- Comment #7 from Markus Königshaus <m.koenigshaus@wut.de> ---
Addition: I have identified the code that generates the underflow:
cancel_dirty_page in mm/truncate.c. To reproduce the error, you can perform the
following change:
[...]
if (mapping && mapping_cap_account_dirty (mapping)) {
++WARN_ON ((int) global_page_state(NR_FILE_DIRTY) <0);
dec_zone_page_state (page, NR_FILE_DIRTY);
[...]
Test result:
[ 21.427121] ------------[ cut here ]------------
[ 21.431769] WARNING: CPU: 0 PID: 309 at mm/truncate.c:78
cancel_dirty_page+0x144/0x1cc()
[ 21.439899] Modules linked in: wutbox_cp sata_mv
[ 21.444572] CPU: 0 PID: 309 Comm: kworker/0:1 Not tainted 3.14.21-WuT #77
[ 21.451395] Workqueue: events free_ioctx
[ 21.455362] [<c0016a64>] (unwind_backtrace) from [<c0012f88>]
(show_stack+0x20/0x24)
[ 21.463164] [<c0012f88>] (show_stack) from [<c03f8bec>]
(dump_stack+0x24/0x28)
[ 21.470441] [<c03f8bec>] (dump_stack) from [<c0023ae4>]
(warn_slowpath_common+0x84/0x9c)
[ 21.478577] [<c0023ae4>] (warn_slowpath_common) from [<c0023bb8>]
(warn_slowpath_null+0x2c/0x34)
[ 21.487402] [<c0023bb8>] (warn_slowpath_null) from [<c00c05f0>]
(cancel_dirty_page+0x144/0x1cc)
[ 21.496125] [<c00c05f0>] (cancel_dirty_page) from [<c00c073c>]
(truncate_inode_page+0x8c/0x158)
[ 21.504874] [<c00c073c>] (truncate_inode_page) from [<c00c09c4>]
(truncate_inode_pages_range+0x11c/0x53c)
[ 21.514493] [<c00c09c4>] (truncate_inode_pages_range) from [<c00c0e9c>]
(truncate_pagecache+0x88/0xac)
[ 21.523855] [<c00c0e9c>] (truncate_pagecache) from [<c00c0f1c>]
(truncate_setsize+0x5c/0x74)
[ 21.532332] [<c00c0f1c>] (truncate_setsize) from [<c013b2d8>]
(put_aio_ring_file.isra.14+0x34/0x90)
[ 21.541428] [<c013b2d8>] (put_aio_ring_file.isra.14) from [<c013b354>]
(aio_free_ring+0x20/0xcc)
[ 21.550262] [<c013b354>] (aio_free_ring) from [<c013b424>]
(free_ioctx+0x24/0x44)
[ 21.557791] [<c013b424>] (free_ioctx) from [<c003d8d8>]
(process_one_work+0x134/0x47c)
[ 21.565732] [<c003d8d8>] (process_one_work) from [<c003e988>]
(worker_thread+0x130/0x414)
[ 21.575225] [<c003e988>] (worker_thread) from [<c00448ac>]
(kthread+0xd4/0xec)
[ 21.590695] [<c00448ac>] (kthread) from [<c000ec18>]
(ret_from_fork+0x14/0x20)
[ 21.600721] ---[ end trace a9d8eecdd373e997 ]---
The error only occurs when the Kernel Asynchronous I/O is used. Without AIO I
get no error.
Markus
--
You are receiving this mail because:
You are watching the assignee of the bug.--
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
next prev parent reply other threads:[~2014-10-24 15:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-17 13:14 [Bug 86471] New: drastic reduction of write performance after the termination of mysqld bugzilla-daemon
2014-10-17 16:10 ` [Bug 86471] " bugzilla-daemon
2014-10-17 16:29 ` bugzilla-daemon
2014-10-22 16:00 ` bugzilla-daemon
2014-10-22 20:22 ` bugzilla-daemon
2014-10-23 10:34 ` bugzilla-daemon
2014-10-23 16:36 ` bugzilla-daemon
2014-10-24 15:14 ` bugzilla-daemon [this message]
2014-10-24 15:34 ` bugzilla-daemon
2014-11-13 14:24 ` bugzilla-daemon
2014-11-13 14:33 ` bugzilla-daemon
2014-11-13 14:41 ` bugzilla-daemon
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=bug-86471-13602-LEC3CccjRC@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).