public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfsprogs/mkfs: what's the relationship between max trans res and min log size
@ 2015-05-18  6:33 Wang Sheng-Hui
  2015-05-18 13:34 ` Brian Foster
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Sheng-Hui @ 2015-05-18  6:33 UTC (permalink / raw)
  To: xfs, Dave Chinner

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


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-18 23:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18  6:33 xfsprogs/mkfs: what's the relationship between max trans res and min log size Wang Sheng-Hui
2015-05-18 13:34 ` Brian Foster
2015-05-18 23:28   ` Wang Sheng-Hui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox