A kernel change breaks GlusterFS
Posted Mar 28, 2013 0:35 UTC (Thu) by
bfields (subscriber, #19510)
In reply to:
A kernel change breaks GlusterFS by jengelh
Parent article:
A kernel change breaks GlusterFS
Traditionally the cookie is a byte-offset into some linear representation of the directory. If you do that, then in practice a "64 bit" cookie in practice probably isn't going to exceed 2^32 until you have millions of entries.
ext4 is unusual in that it uses a hash of the filename as the cookie--so the 64-bit cookies are effectively random 64-bit sequences, and really do use the high bits.
(Well, OK, actually they're limited to 63 bits, but you get the idea.)
(
Log in to post comments)