From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 6E6597F83 for ; Fri, 15 Nov 2013 11:19:58 -0600 (CST) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by relay3.corp.sgi.com (Postfix) with ESMTP id ED80FAC007 for ; Fri, 15 Nov 2013 09:19:57 -0800 (PST) Received: from sandeen.net (sandeen.net [63.231.237.45]) by cuda.sgi.com with ESMTP id kS9OCavEuS6vjnK6 for ; Fri, 15 Nov 2013 09:19:56 -0800 (PST) Message-ID: <528657BB.8090206@sandeen.net> Date: Fri, 15 Nov 2013 11:19:55 -0600 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH 0/5] xfs: more patches for 3.13 References: <1383280040-21979-1-git-send-email-david@fromorbit.com> <20131106230133.GX1935@sgi.com> <20131107015706.GM6188@dastard> <5282D2D3.3040601@sandeen.net> <20131114011610.GM6188@dastard> In-Reply-To: <20131114011610.GM6188@dastard> 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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: Ben Myers , xfs@oss.sgi.com On 11/13/13, 7:16 PM, Dave Chinner wrote: > That's client side, not server side, so that's the NFS client inode > it is locking, not the server side XFS inode. Ah, geez, you're right. (x3) > Server side, where i_version is pulled out of an XFS inode: > > $ git grep i_version fs/nfsd > fs/nfsd/nfs3xdr.c: fhp->fh_post_change = fhp->fh_dentry->d_inode->i_version; > fs/nfsd/nfs4xdr.c: write64(p, inode->i_version); > fs/nfsd/nfsfh.h: fhp->fh_pre_change = inode->i_version; > $ > > the nfsfh.h hit is in fill_pre_wcc(), which appears to be called > under i_mutex but not i_lock. The xdr encoding functions don't > appear to be holding i_lock, and may be holding i_mutex, but I > haven't looked that far. I'm still not sure how > Cheers, > > Dave. > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs