xfsprogs/mkfs: what's the relationship between max trans res and min log size

Wang Sheng-Hui shhuiw at foxmail.com
Mon May 18 01:33:06 CDT 2015


Hi guys,


In maxtrres.c/max_trans_res, it calls xfs_log_calc_minimum_size to compute the
              maximum transaction reservation

But for xfs_log_calc_minimum_size, it's used to calculate the
              minimum valid log size


The naming max/minimum seems confusing.

Why are they named in such way? What's the relationship between max trans res
and minimun log size, (max trans res) <= (minimun log size)?


Any explanations are welcomed!


Thanks,
Sheng-Hui




More information about the xfs mailing list