Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758244Ab2FZPSG (ORCPT ); Tue, 26 Jun 2012 11:18:06 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]:42705 "EHLO mail-gg0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757370Ab2FZPSF (ORCPT ); Tue, 26 Jun 2012 11:18:05 -0400 MIME-Version: 1.0 In-Reply-To: <20120626125953.GA22557@redhat.com> References: <20120622204207.GA22063@redhat.com> <20120625133047.GA9394@redhat.com> <20120625211850.GC10916@redhat.com> <20120626125953.GA22557@redhat.com> Date: Tue, 26 Jun 2012 10:18:04 -0500 Message-ID: Subject: Re: multi-second application stall in open() From: Josh Hunt To: Tejun Heo Cc: Jens Axboe , linux-kernel@vger.kernel.org, Vivek Goyal Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 32 On Tue, Jun 26, 2012 at 7:59 AM, Vivek Goyal wrote: > On Mon, Jun 25, 2012 at 11:01:48PM -0500, Josh Hunt wrote: > > [..] >> So this really seems like a problem with kblockd not kicking in. I've >> instrumented every path in select_queue and it's not getting hit after >> schedule dispatch. Everything seems to stall at that point until a new >> request comes in. > > Ok, that's cool. So now we need to find out why queued work is not being > scheduled. > > I think there are some workqueue related trace points. If you enable those > along with blktraces, that should give tejun some data to look at. > > Thanks > Vivek Tejun Do you have any suggestions on how to debug this? I did "perf record -a -e workqueue:*" and grabbed some tracepoint data, but it's hard to correlate when these events are occurring in the blktrace logs. Will keep investigating. -- Josh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/