public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ext3 duplicate entries with readdir
@ 2009-03-03 20:05 Andries E. Brouwer
  2009-03-03 20:54 ` Mike Snitzer
  0 siblings, 1 reply; 7+ messages in thread
From: Andries E. Brouwer @ 2009-03-03 20:05 UTC (permalink / raw)
  To: linux-kernel

In a largish directory (21292 files) a scan using ext3 readdir
found 21293 files, returning one entry twice.

Google "ext3 readdir twice" gives me a handful of identical complaints.
I see reports from 2002-2008.
So, this is an old and well-known symptom but seemingly still not fixed,
at least not in the kernel on this machine here.
This report is for Fedora release 8 (Werewolf) with kernel 2.6.24.5.

A 2002 post says "This is unfortunate, but the chances of our hitting
this failure are relatively small".

In http://www.redhat.com/archives/ext3-users/2008-August/msg00009.html
tytso seems to understand what happens: a hash collision.
But has this been fixed in the current tree?


Andries


Thomas Trauner gave a test program. It prints
expected 25989 files, but readdir reports 25990

So, yes, this is reproducible.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-11 10:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 20:05 ext3 duplicate entries with readdir Andries E. Brouwer
2009-03-03 20:54 ` Mike Snitzer
2009-03-03 21:51   ` Andries E. Brouwer
2009-03-04  1:57     ` Theodore Tso
2009-03-09 14:13       ` Goswin von Brederlow
2009-03-09 16:00         ` Eric Sandeen
2009-03-11 10:45           ` Goswin von Brederlow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox