xfs
[Top] [All Lists]

RE: link() messes up file attributes

To: "ZINKEVICIUS,MATT (HP-Loveland,ex1)" <matt_zinkevicius@xxxxxx>, "'Stephen Lord'" <lord@xxxxxxx>
Subject: RE: link() messes up file attributes
From: "ZINKEVICIUS,MATT (HP-Loveland,ex1)" <matt_zinkevicius@xxxxxx>
Date: Tue, 8 Jan 2002 16:49:41 -0500
Cc: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Nevermind, the fix didn't help. Occured again today :-(

--Matt

> -----Original Message-----
> From: ZINKEVICIUS,MATT (HP-Loveland,ex1) 
> Sent: Monday, January 07, 2002 12:59 PM
> To: 'Stephen Lord'; ZINKEVICIUS,MATT (HP-Loveland,ex1)
> Cc: 'linux-xfs@xxxxxxxxxxx'
> Subject: RE: link() messes up file attributes
> 
> 
> Thanks Steve! This fixed it!
> 
> --Matt
> 
> > -----Original Message-----
> > From: Stephen Lord [mailto:lord@xxxxxxx]
> > Sent: Saturday, January 05, 2002 12:21 PM
> > To: ZINKEVICIUS,MATT (HP-Loveland,ex1)
> > Cc: 'linux-xfs@xxxxxxxxxxx'
> > 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
> > 
> > 
> 


<Prev in Thread] Current Thread [Next in Thread>