Hello Kalpak, On Friday 06 July 2007 12:28:29 Kalpak Shah wrote: > > Hi Bernd, > > This happens because it is actually possible to get a zero generation inode > once every (random < 2^32) inodes. > > Ldiskfs needs to have this patch to skip inodes with generation = 0. > > linux-2.6.9-34.orig/fs/ext3/ialloc.c 2007-01-03 13:30:33.000000000 +0000 > +++ linux-2.6.9-34/fs/ext3/ialloc.c 2007-01-03 13:42:04.000000000 +0000 > @@ -721,6 +721,8 @@ got: > insert_inode_hash(inode); > spin_lock(&sbi->s_next_gen_lock); > inode->i_generation = sbi->s_next_generation++; > + if (unlikely(inode->i_generation == 0)) > + inode->i_generation = sbi->s_next_generation++; > spin_unlock(&sbi->s_next_gen_lock); > > ei->i_state = EXT3_STATE_NEW; > > There also needs to be a change in mds_fid2dentry(). These patches can be > found in bz10419.
thanks a lot, I will test it as soon as possible, today I was all the day busy with an entirely diferent issue (not related to lustre at all). Thanks again, Bernd -- Bernd Schubert Q-Leap Networks GmbH _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
