Re: [PATCH] xfstests: v2 xfs directory unbalance assert test

Mark Tinguely
2013-09-18T17:43:23Z

On 09/18/13 11:36, Michael L. Semon wrote:
> Looks good. I tried it on an 11-GB partition with an unpatched git kernel
> 3.12.0 + xfs-oss/master, coupled with the latest git xfsprogs. It took a
> reasonable amount of time, relatively speaking. It put forth the error I was
> expecting, and a new 32-bit core is available upon your request but not
> uploaded yet.
>
> As for the assert itself, according to kgdb, these are the first, last, and
> BBTOB(bp->b_length) numbers for this run:
>
> 1544 4591 4096
>
> Good work!
>
> Michael

Thanks for the feedback.

last > BBTOB(bp->b_length) was also true for the longer version of the
test. The only difference is that it happens earlier in the remove.

I take a closer look at the code.

--Mark.