From: Jens Axboe <axboe@kernel.dk>
To: Andrey Kuzmin <andrey.v.kuzmin@gmail.com>
Cc: Sitsofe Wheeler <sitsofe@gmail.com>,
"fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: Exit all jobs on error
Date: Thu, 10 Dec 2015 11:24:36 -0700 [thread overview]
Message-ID: <5669C364.9020100@kernel.dk> (raw)
In-Reply-To: <CANvN+e=U5O4LC40uE59iGn1jtkBGygbboXGcKpfXO2uTX3=bVw@mail.gmail.com>
On 12/10/2015 11:17 AM, Andrey Kuzmin wrote:
> On Thu, Dec 10, 2015 at 9:15 PM, Jens Axboe <axboe@kernel.dk> wrote:
>> On Thu, Dec 10 2015, Andrey Kuzmin wrote:
>>> I've also encountered a similar issue a number of times where the job
>>> failed to stop (and refused to terminate in response to C-C) when a
>>> thread/process fails, e.g. due to an error. My guess is that the loop
>>> that waits for completions doesn't check for td->terminate being set.
>>
>> Attach with gdb and see what they are doing, could be a missing
>> terminate check. Or it could already be sitting waiting for completions.
>
> It just sits there waiting for completions, as gdb understandably
> predominantly hits the wait state.
Where is it sitting and/or looping?
--
Jens Axboe
next prev parent reply other threads:[~2015-12-10 18:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 7:01 Exit all jobs on error Sitsofe Wheeler
2015-12-10 17:11 ` Jens Axboe
2015-12-10 17:58 ` Sitsofe Wheeler
2015-12-10 18:11 ` Andrey Kuzmin
2015-12-10 18:15 ` Jens Axboe
2015-12-10 18:17 ` Andrey Kuzmin
2015-12-10 18:24 ` Jens Axboe [this message]
2015-12-10 18:27 ` Andrey Kuzmin
2015-12-10 18:29 ` Jens Axboe
2015-12-10 18:30 ` Andrey Kuzmin
2015-12-11 10:01 ` Andrey Kuzmin
2015-12-11 15:32 ` Jens Axboe
2015-12-11 19:59 ` Sitsofe Wheeler
2015-12-11 20:32 ` Andrey Kuzmin
2015-12-11 20:38 ` Jens Axboe
2015-12-10 18:15 ` Jens Axboe
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=5669C364.9020100@kernel.dk \
--to=axboe@kernel.dk \
--cc=andrey.v.kuzmin@gmail.com \
--cc=fio@vger.kernel.org \
--cc=sitsofe@gmail.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