From: Benjamin LaHaise <bcrl@kvack.org>
To: Sebastian Ott <sebott@linux.vnet.ibm.com>
Cc: Anatol Pomozov <anatol.pomozov@gmail.com>,
linux-aio@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: hanging aio process
Date: Mon, 19 May 2014 14:08:51 -0400 [thread overview]
Message-ID: <20140519180851.GD2915@kvack.org> (raw)
In-Reply-To: <alpine.LFD.2.11.1405191908450.1847@denkbrett>
On Mon, May 19, 2014 at 07:38:51PM +0200, Sebastian Ott wrote:
> Hello,
>
> on the latest kernel a fio job with 4 workers using libaio hangs.
Is more than one process stuck in state D when the hang occurs? If so,
what does a backtrace show for the stuck processes (or are there any
hung process warnings issued)? It is entirely possible the bug isn't
caused by the referenced commit, as the commit you're pointing to merely
makes io_destroy() syscall wait for all aio outstanding to complete
before returning.
-ben
> git bisect points to:
> commit e02ba72aabfade4c9cd6e3263e9b57bf890ad25c
> Author: Anatol Pomozov <anatol.pomozov@gmail.com>
> Date: Tue Apr 15 11:31:33 2014 -0700
>
> aio: block io_destroy() until all context requests are completed
>
>
> The fio workers are on the wait_for_completion in sys_io_destroy.
>
> Regards,
> Sebastian
> [global]
> blocksize=4K
> size=256M
> rw=randrw
> verify=md5
> iodepth=32
> ioengine=libaio
> direct=1
> end_fsync=1
>
> [file1]
> filename=/dev/scma
>
> [file2]
> filename=/dev/scmbw
>
> [file3]
> filename=/dev/scmc
>
> [file4]
> filename=/dev/scmx
--
"Thought is the essence of where you are now."
next prev parent reply other threads:[~2014-05-19 18:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-19 17:38 hanging aio process Sebastian Ott
2014-05-19 18:08 ` Benjamin LaHaise [this message]
2014-05-20 8:08 ` Sebastian Ott
2014-05-20 13:16 ` Sebastian Ott
2014-05-20 14:26 ` Benjamin LaHaise
2014-05-20 16:12 ` Anatol Pomozov
2014-05-20 18:09 ` Sebastian Ott
2014-05-20 18:39 ` Anatol Pomozov
2014-05-21 8:07 ` Sebastian Ott
2014-05-21 8:48 ` Sebastian Ott
2014-05-21 13:20 ` Benjamin LaHaise
2014-05-21 14:12 ` Sebastian Ott
2014-05-21 14:18 ` Anatol Pomozov
2014-05-21 14:57 ` Sebastian Ott
2014-06-04 5:24 ` Gu Zheng
2014-06-11 8:47 ` Ming Lei
2014-06-04 13:58 ` [PATCH] percpu-refcount: fix usage of this_cpu_ops (was Re: hanging aio process) Sebastian Ott
2014-06-04 16:11 ` Tejun Heo
2014-06-04 16:56 ` Sebastian Ott
2014-06-04 17:02 ` Tejun Heo
2014-06-04 16:41 ` Tejun Heo
2014-06-04 17:17 ` Christoph Lameter
2014-05-19 18:31 ` hanging aio process Anatol Pomozov
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=20140519180851.GD2915@kvack.org \
--to=bcrl@kvack.org \
--cc=anatol.pomozov@gmail.com \
--cc=linux-aio@kvack.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sebott@linux.vnet.ibm.com \
/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