[Top] [All Lists]

Re: Files with non-ASCII names inaccessible after xfs_repair

To: xfs@xxxxxxxxxxx
Subject: Re: Files with non-ASCII names inaccessible after xfs_repair
From: Zachary Kotlarek <zach@xxxxxxxxxxxx>
Date: Tue, 14 Jan 2014 17:59:23 -0800
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=kotlarek.com; s=default; t=1389751167; bh=zKts3k8xUO8/tQUUDx2jk2/IhqcUck739MqvMOgQMwQ=; h=From:Content-Type:Message-Id:Mime-Version:Subject:Date:References: To:In-Reply-To; b=Te6F+q37zOBGbbLlx9OJx2Aa6J28vj6TRuOxpDfXd+ZhgXxxp5t6SjwO73BalG6EF 2e6E1vV9G6vks4wVkeQiPJWGj8gStY+Fn/sjEJ9VbzBSynPC9Lfl3pCun8+v1MWrf2 CVb2jXcf140dM+Etpji0thDMO7Uye6aAvH8QmqSg=
In-reply-to: <20140115015350.GR3469@dastard>
References: <52D2E358.6070106@xxxxxxxxxxxxxxxxx> <CF41F386-E86A-4745-B28D-0DAA8D3CA1DD@xxxxxxxxxxxx> <20140113015007.GC3469@dastard> <EDB09149-717F-4089-9C21-1D342CF77A7D@xxxxxxxxxxxx> <20140113031947.GG3469@dastard> <E2EE0AEA-ED22-4D3B-8550-88F2ED1F8314@xxxxxxxxxxxx> <20140113192732.GI3469@dastard> <0E45339E-04C4-4775-B6B0-FC55245B0AED@xxxxxxxxxxxx> <20140114022414.GM3469@dastard> <BE0C947E-37DE-4CA1-B120-59B95E1E8EB8@xxxxxxxxxxxx> <20140115015350.GR3469@dastard>
On Jan 14, 2014, at 5:53 PM, Dave Chinner <david@xxxxxxxxxxxxx> 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)


I’m happy to build from git if you suspect something has changed since then.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>