Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932138AbWCIMF0 (ORCPT ); Thu, 9 Mar 2006 07:05:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932166AbWCIMEu (ORCPT ); Thu, 9 Mar 2006 07:04:50 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:50378 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1751895AbWCIMDK (ORCPT ); Thu, 9 Mar 2006 07:03:10 -0500 Date: Thu, 9 Mar 2006 12:03:06 +0000 From: Christoph Hellwig To: Suzuki Cc: linux-fsdevel@vger.kernel.org, "linux-aio kvack.org" , lkml , suparna , akpm@osdl.org, linux-xfs@oss.sgi.com Subject: Re: [RFC] Badness in __mutex_unlock_slowpath with XFS stress tests Message-ID: <20060309120306.GA26682@infradead.org> Mail-Followup-To: Christoph Hellwig , Suzuki , linux-fsdevel@vger.kernel.org, "linux-aio kvack.org" , lkml , suparna , akpm@osdl.org, linux-xfs@oss.sgi.com References: <440FDF3E.8060400@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <440FDF3E.8060400@in.ibm.com> User-Agent: Mutt/1.4.2.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 16 On Thu, Mar 09, 2006 at 01:24:38PM +0530, Suzuki wrote: > > Missed out linux-aio & linux-fs-devel lists. Forwarding. > > Comments ? I've seen this too. The problem is that __generic_file_aio_read can return with or without the i_mutex locked in the direct I/O case for filesystems that set DIO_OWN_LOCKING. It's a nasty one and I haven't found a better solution than copying lots of code from filemap.c into xfs. - 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/