Re: Files with non-ASCII names inaccessible after xfs_repair

Zachary Kotlarek
2014-01-15T01:59:32Z

[-- Attachment #1.1: Type: text/plain, Size: 738 bytes --]

On Jan 14, 2014, at 5:53 PM, Dave Chinner <david@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

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2749 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]