xfs/016: calculate minimum log size and end locations