Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g07Kws924578 for linux-xfs-outgoing; Mon, 7 Jan 2002 12:58:54 -0800 Received: from palrel12.hp.com (palrel12.hp.com [156.153.255.237]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g07Kwlg24556 for ; Mon, 7 Jan 2002 12:58:47 -0800 Received: from xparelay1.corp.hp.com (xparelay1.corp.hp.com [15.58.136.173]) by palrel12.hp.com (Postfix) with ESMTP id BDA6FE004D2; Mon, 7 Jan 2002 11:58:40 -0800 (PST) Received: from xpabh3.corp.hp.com (xpabh3.corp.hp.com [15.58.136.223]) by xparelay1.corp.hp.com (Postfix) with ESMTP id A4CF0600098; Mon, 7 Jan 2002 11:58:40 -0800 (PST) Received: by xpabh3.corp.hp.com with Internet Mail Service (5.5.2653.19) id ; Mon, 7 Jan 2002 11:58:40 -0800 Message-ID: From: "ZINKEVICIUS,MATT (HP-Loveland,ex1)" To: "'Stephen Lord'" , "ZINKEVICIUS,MATT (HP-Loveland,ex1)" Cc: "'linux-xfs@oss.sgi.com'" Subject: RE: link() messes up file attributes Date: Mon, 7 Jan 2002 11:58:34 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Status: O Content-Length: 1452 Lines: 55 Thanks Steve! This fixed it! --Matt > -----Original Message----- > From: Stephen Lord [mailto:lord@sgi.com] > Sent: Saturday, January 05, 2002 12:21 PM > To: ZINKEVICIUS,MATT (HP-Loveland,ex1) > Cc: 'linux-xfs@oss.sgi.com' > Subject: Re: link() messes up file attributes > > > ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote: > > >Hi gang, > > > >We have been running specSFSv2 (NFS benchmark) against a > server running XFS. > >All was well previously (kernel 2.4.14), but we recently > checked out the XFS > >CVS (2002-01-03) and it now fails. The test fails a part of > the validation > >stage which does the following steps: > > > >1) Create a file (file1) with permissions 666 > >2) Create a hardlinked file (file2) to file1 > >3) Check that permissions of file1 are still 666 > > > >Step 3 now fails as file1 now has 644 permissions! Using the > same kernel we > >tried ext2 instead and everything behaved normally. If > anybody wants anymore > >detail just let me know. > > > >Matt Zinkevicius > >Software Engineer > >Network Storage Array Solutions > >Hewlett-Packard > > > Can you try this: > > Edit fs/xfs/linux/xfs_super.c and comment out these lines: > > > fh_to_dentry: linvfs_fh_to_dentry, > dentry_to_fh: linvfs_dentry_to_fh, > > At around line 907 and try again. I doubt it will fix it, but it is > worth a shot. > This will change the calls NFS uses to interact with XFS. > > Steve > >