On Wed, Oct 17, 2018 at 11:20:42AM +0000, bugzilla-daemon@xxxxxxxxxxxxxxxxxxx wrote: > # _scratch_xfs_get_metadata_field "recs[1].freecount" "agi 0" "addr root" > -197 > ]# xfs_db -c "agi 0" -c "addr root" -c "print recs[1]" /dev/loop1 > recs[1] = [startino,holemask,count,freecount,free] > 1:[128,0,64,-197,0xffffffffffffffe0] ..... > And it's not reproducible on x86_64: > # xfs_db -c "agi 0" -c "addr root" -c "print recs[1]" /dev/loop1 > recs[1] = [startino,holemask,count,freecount,free] > 1:[128,0,64,59,0xffffffffffffffe0] -197 = -(256 - 59) This looks like a sign extension problem in the xfs_db code. s390 is a big endian system, right? Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx