Re: Test generic/299 stalling forever

Jens Axboe
2016-10-13T02:46:21Z

On 10/12/2016 08:15 PM, Theodore Ts'o wrote:
> On Wed, Oct 12, 2016 at 03:19:25PM -0600, Jens Axboe wrote:
>>
>> FWIW, this is the commit that fixes it:
>>
>> commit 39d13e67ef1f4b327c68431f8daf033a03920117
>> Author: Jens Axboe <axboe@fb.com>
>> Date: Fri Aug 26 14:39:30 2016 -0600
>>
>> backend: check if we need to update rusage stats, if stat_mutex is busy
>>
>> 2.14 and newer should not have the problem, but earlier versions may
>> depending on how old...
>
> Unfortunately, I'm still seeing hangs in generic/299 with the latest version of fio:
>
> fio fio-2.14-10-g0a301e9 (Fri, 23 Sep 2016 11:57:00 -0600)

Well, that's no good.

> If I use an older fio, it reliably does not hang. What can I do to
> help debug this?

If I just wanted to invoke generic/299 with a setup similar to yours,
what should I do? I can attempt to reproduce it.

> As I said, I can attach to the hanging fio using a gdb and give you
> stackdumps for all of the threads if that would be helpful.

That would definitely be helpful as well, especially if I cannot
reproduce it.

--
Jens Axboe