[Unionfs] kmem_cache_alloc + krealloc2 for dentries

Mellors, Andrew AMellors at empirix.com
Thu Jul 19 11:17:38 EDT 2007


I'm seeing a kernel oops/ENOMEM errors if the dentry that was gotten
from cache before the call to __realloc_dentry_private_data has a 0 in
the bcount field.

 

As far as I can tell if this happens then unionfs thinks there isn't any
memory and fails out on Mount with a Cannot Allocate Memory error or it
cases a kernel to oops when it's trying to clean up crumbs from a
unionfs_lookup

 

Now for more info I am doing something odd, in that I'm taking the 2.6.9
Unionfs2 diff and applying it to a 2.6.11 kernel (It seems to work fine
after I initialize that field to 1)

 

I'm semi-new to kernel FS development so if you guys have any thoughts
thanks.

 

Andrew Mellors 
Software Engineer
EMPIRIX 
p: 781.266.3576
email: amellors at empirix.com 
20 Crosby Drive - Bedford, MA 01730
http://www.empirix.com <http://www.empirix.com>  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.fsl.cs.sunysb.edu/pipermail/unionfs/attachments/20070719/a23a4879/attachment-0001.htm


More information about the unionfs mailing list