[Lustre-discuss] 1.6.4.1 - LBUG on MDS
Bernd Schubert
bs at q-leap.de
Mon Jan 21 10:18:08 PST 2008
On Monday 21 January 2008 15:27:34 Niklas Edmundsson wrote:
> On Mon, 21 Jan 2008, Bernd Schubert wrote:
> >> I'm building using the pkg-lustre/trunk repository, so I already had
> >> this patch when the MDS bug:ed out.
> >
> > Have you checked the patch is really applied? I'm not always closely
> > following debians svn and Goswin who is usually syncing our patches with
> > debians was the last weeks rather busy with other things (as was I).
>
> Yup. At least mds_reint.c has the chunk that the patch adds.
Looking closer into this I see your error message would be different if
vfs_link() would fail, you would run into
CERROR("error linking orphan %s to PENDING: rc = %d\n",
rec->ur_name, rc);
But now I don't understand whats going on.
/* 2.6.21 will refuse to add a link of inode->i_nlink == 0 */
inode->i_nlink = 1;
rc = vfs_link(dentry, pending_dir, pending_child);
If vfs_link() succeeds we should have inode->i_nlink==2 now, but in your case
it seems to be inode->i_nlink==1. Or did you also get the "error linking
orphan ..." message?
Cheers,
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
More information about the lustre-discuss
mailing list