Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752921AbcCKWYl (ORCPT ); Fri, 11 Mar 2016 17:24:41 -0500 Received: from mail-pf0-f175.google.com ([209.85.192.175]:34274 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752616AbcCKWYg (ORCPT ); Fri, 11 Mar 2016 17:24:36 -0500 Date: Fri, 11 Mar 2016 15:24:33 -0700 From: Andrea Righi To: Kent Overstreet Cc: Shaohua Li , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: multipath: I/O hanging forever Message-ID: <20160311222433.GA2617@Dell> References: <20160229015333.GA3101@Dell> <20160229034616.GA2682@Dell> <20160304173044.GA2636@Dell> <20160306053103.GA31060@kmo-pixel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160306053103.GA31060@kmo-pixel> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 24 On Sat, Mar 05, 2016 at 08:31:03PM -0900, Kent Overstreet wrote: > On Fri, Mar 04, 2016 at 10:30:44AM -0700, Andrea Righi wrote: > > On Sun, Feb 28, 2016 at 08:46:16PM -0700, Andrea Righi wrote: > > > On Sun, Feb 28, 2016 at 06:53:33PM -0700, Andrea Righi wrote: > > > ... > > > > I'm using 4.5.0-rc5+, from Linus' git. I'll try to do a git bisect > > > > later, I'm pretty sure this problem has been introduced recently (i.e., > > > > I've never seen this issue with 4.1.x). > > > > > > I confirm, just tested kernel 4.1 and this problem doesn't happen. > > > > Alright, I had some spare time to bisect this problem and I found that > > the commit that introduced this issue is c66a14d. > > > > So, I tried to revert the commit (with some changes to fix conflicts and > > ABI changes) and now multipath seems to work fine for me (no hung task). > > Is it hanging on first IO, first large IO, or just randomly? It's always the very first O_DIRECT I/O, in general the task gets stuck in do_blockdev_direct_IO(). Thanks, -Andrea