Re: duplicate entries on ext3 when using readdir/readdir64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 05, 2008 at 12:53:51PM +0200, Thomas Trauner wrote:
> > How reproducible is this; can you reproduce it on this one filesystem?
> > Can you reproduce it on multiple filesystems?  What sort of file names
> > are you using?
> 
> I made new tests with the code under
> <http://www.unet.univie.ac.at/~a9100884/readdir.c> on a bunch of freshly
> generated and empty filesystems, every about 38GB large, of type fat
> (aborted after about 22000 entries because it took to long), ext2, xfs,
> jfs and again ext3. All tests made with 2.6.24-19-generic (ubuntu
> 8.04.1).

I was able to reproduce using ext3.  It looks like it's caused by a
hash collision; but ext3 has code that's supposed to avoid returning a
directory entry doubled in this fashion.  I'll have to look into it.

	  		   		       - Ted

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux