Files with non-ASCII names inaccessible after xfs_repair
Zachary Kotlarek
zach at kotlarek.com
Tue Jan 14 19:59:23 CST 2014
On Jan 14, 2014, at 5:53 PM, Dave Chinner <david at fromorbit.com> wrote:
> Pretty simple - the leaf[].address is simply a compressed offset
> into the leaf. all dirents are 8 byte aligned, and the tag is the
> byte offset into the leaf dirent space. Hence:
>
> leaf[].address = bu[16].tag >> 3
> = 0x1d8 >> 3
> = 0x3b
> = bleaf[3].address
>
>> bleaf[3].hashval = 0x16d0707c
>> bleaf[3].address = 0x3b
>
> And there were are - there's a single bit discrepancy in the lower
> byte of the hash. That tends to imply we have a bug in xfs_repair.
>
> What version of xfs_repair did you use? (xfs_repair -V)
3.1.11.
I’m happy to build from git if you suspect something has changed since then.
Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2749 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20140114/c5c0fbb6/attachment.p7s>
More information about the xfs
mailing list