> 

> "Marty Rosenberg":
>> sorry for not including the info that I should have.  I've removed the
>> lhash.patch problem, there are no problems with compiling or loading
>> the module.  This time, I've decided to use the kconfig method, and
>> I've recompiled the entire kernel.  I'm using aufs 20070312.
> 
> Thank you.
> 
> On my plain 2.6.18 kernel with xfs and tousands of files, I see no 
> problem. Will you tell me where can I get 2.6.18-gentoo-r6 kernel source
> files? I need to check the differences from plain kernel.
> 
> 
> Junjiro Okajima
> 
> 

the gentoo patch set can be downloaded from 

http://dev.gentoo.org/~dsd/genpatches/

On the thought that the gentoo patch set is the problem, I've installed a 
vanilla kernel, and tried everything again (More logging this time!)
Some minor things that I've noticed is that the order that files are statted in 
makes a large difference.  When I run ls -R in data_test, it gets through some 
number of files, finds a single problem, then dies sometime later in the 
operation (as opposed to find which runs to completion after having found a 
bunch of instances of the problem) and will die the second time that you run 
it.  Also, when I attempt to replicate the problem by just going into one of 
the troublesome directories and ls-ing or stat-ing files, the results have been 
strange, and a bit inconsistent.  One of the problems is that it believes that 
the entire directory of Evangelion is inside of the file ./videos/tv/Family 
Guy/Family Guy DVDRip Vol1 Disk1/Family Guy - V1D1 - FoxPromo6 - Pants On.avi.  

Stat run on the virtual file gives:
  File: `Family Guy - V1D1 - FoxPromo6 - Pants On.avi'
  Size: 19101696        Blocks: 37312      IO Block: 4096   regular file
Device: 10h/16d Inode: 1601        Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (  100/   users)
Access: 2007-03-14 04:33:43.593181805 -0400
Modify: 2006-07-09 09:26:02.301084000 -0400
Change: 2007-02-09 01:33:31.069340768 -0500


The original file gives:
  File: `Family Guy - V1D1 - FoxPromo6 - Pants On.avi'
  Size: 19101696        Blocks: 37312      IO Block: 4096   regular file
Device: 2141h/8513d     Inode: 2013266049  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (  100/   users)
Access: 2006-12-25 06:10:23.465751380 -0500
Modify: 2006-07-09 09:26:02.301084000 -0400
Change: 2007-02-09 01:33:31.069340768 -0500

The 'Directory' that is being placed inside of this file in the virtial file 
system gives
  File: `Evangelion'
  Size: 19101696        Blocks: 37312      IO Block: 4096   regular file
Device: 10h/16d Inode: 1601        Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (  100/   users)
Access: 2007-03-14 04:33:43.593181805 -0400
Modify: 2006-07-09 09:26:02.301084000 -0400
Change: 2007-02-09 01:33:31.069340768 -0500

and in the original:
  File: `Evangelion'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 2141h/8513d     Inode: 939524225   Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (  100/   users)
Access: 2007-03-14 04:33:43.593181805 -0400
Modify: 2007-02-20 19:23:18.264779148 -0500
Change: 2007-02-20 19:23:18.264779148 -0500

The two things that stick out at me are that the two confused files both have 
the exact same Inode --1601.  the other thing is that the number of hard links 
on some of the directories can be absurd.  on Evangelion, it was only 2, but on 
other directories, it's as high as 18(this is both on the original FS and the 
virtual one). Also, I noticed when I compiled the unpached kernel that the 
option HInotify was disabled.  I don't remember what versions of the kernel 
that is for, but the option isn't disabled in the 2.6.18-gentoo-r6 kernel.  
--Marty


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to