From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752688AbaEUNUl (ORCPT ); Wed, 21 May 2014 09:20:41 -0400 Received: from kanga.kvack.org ([205.233.56.17]:42061 "EHLO kanga.kvack.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752639AbaEUNUk (ORCPT ); Wed, 21 May 2014 09:20:40 -0400 Date: Wed, 21 May 2014 09:20:38 -0400 From: Benjamin LaHaise To: Sebastian Ott Cc: Anatol Pomozov , linux-aio@kvack.org, LKML Subject: Re: hanging aio process Message-ID: <20140521132038.GL2915@kvack.org> References: <20140519180851.GD2915@kvack.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 21, 2014 at 10:48:55AM +0200, Sebastian Ott wrote: > > > > I already did that and it didn't change, always 1 + (1UL << 31) in all > > cases, before and after percpu_ref_kill(&ctx->reqs). I'm not really > > familiar with this percpu_ref stuff but it looks like the initial > > reference is dropped asynchronous. > > > cat /sys/kernel/debug/tracing/trace Your trace still isn't monitoring aio_complete(). You need to check if aio_complete() is getting called in order to determine if the bug is in the core aio code or not. -ben -- "Thought is the essence of where you are now."