From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o1BEoAJG154488 for ; Thu, 11 Feb 2010 08:50:11 -0600 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BF4EC1CC1129 for ; Thu, 11 Feb 2010 06:51:25 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id FCGbmaLLVYGo2pA6 for ; Thu, 11 Feb 2010 06:51:25 -0800 (PST) Date: Thu, 11 Feb 2010 09:51:23 -0500 From: Christoph Hellwig Subject: Re: 2.6.32.3 x86_64 - XFS hangs, all I/O to D-state bug (again) Message-ID: <20100211145123.GA13114@infradead.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Justin Piszcz Cc: linux-raid@vger.kernl.org, Alan Piszcz , linux-kernel@vger.kernel.org, xfs@oss.sgi.com Can you check if this still happens with the patch below? Index: linux-2.6/fs/xfs/linux-2.6/xfs_buf.c =================================================================== --- linux-2.6.orig/fs/xfs/linux-2.6/xfs_buf.c 2010-02-11 15:47:49.677253958 +0100 +++ linux-2.6/fs/xfs/linux-2.6/xfs_buf.c 2010-02-11 15:48:03.630005040 +0100 @@ -1158,8 +1158,7 @@ _xfs_buf_ioapply( bp->b_flags &= ~_XBF_RUN_QUEUES; rw = (bp->b_flags & XBF_WRITE) ? WRITE_META : READ_META; } else { - rw = (bp->b_flags & XBF_WRITE) ? WRITE : - (bp->b_flags & XBF_READ_AHEAD) ? READA : READ; + rw = (bp->b_flags & XBF_WRITE) ? WRITE : READ; } /* Special code path for reading a sub page size buffer in -- _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs