From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: Re: [RFC PATCH 01/13] gfs2: Get rid of I_MUTEX_QUOTA usage Date: Thu, 6 Sep 2012 13:08:06 -0400 Message-ID: <20120906170806.GA21736@fieldses.org> References: <1346878524-10585-1-git-send-email-bfields@redhat.com> <1346878524-10585-2-git-send-email-bfields@redhat.com> <20120905205920.GA10724@fieldses.org> <1346941666.2728.17.camel@menhir> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "J. Bruce Fields" , Al Viro , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jan Kara To: Steven Whitehouse Return-path: Received: from fieldses.org ([174.143.236.118]:55856 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932274Ab2IFRIJ (ORCPT ); Thu, 6 Sep 2012 13:08:09 -0400 Content-Disposition: inline In-Reply-To: <1346941666.2728.17.camel@menhir> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Sep 06, 2012 at 03:27:46PM +0100, Steven Whitehouse wrote: > Hi, > > On Wed, 2012-09-05 at 16:59 -0400, J. Bruce Fields wrote: > > On Wed, Sep 05, 2012 at 04:55:11PM -0400, J. Bruce Fields wrote: > > > From: Jan Kara > > > > > > GFS2 uses i_mutex on its system quota inode to synchronize writes to > > > quota file. Since this is an internal inode to GFS2 (not part of directory > > > hiearchy or visible by user) we are safe to define locking rules for it. So > > > let's just get it its own locking class to make it clear. > > > > By the way, Steve, is there any reason you haven't taken this through > > the gfs2 tree? > > > > --b. > > > I don't remember now, but I've pushed it into my tree for the next merge > window, Thanks! --b.