Widening ext4's readdir() cookie
Widening ext4's readdir() cookie
Posted Mar 28, 2013 11:59 UTC (Thu) by neilbrown (subscriber, #359)In reply to: Widening ext4's readdir() cookie by dlang
Parent article: Widening ext4's readdir() cookie
Do any filesystems other than ext3/4 have this problem?
Some address it with by having two indexes - one by name and one by cookie. It is more expensive, bit is actually reliable (rather than only being stochastically reliable).
My preference is internal-chaining. This adds a little more book-keeping for the case when hashes collide, but I believe that is preferable to strange errors when hashes collide. And they really don't collide often even with 32bit hashes.