public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Wang Sheng-Hui <shhuiw@foxmail.com>
To: xfs <xfs@oss.sgi.com>, Dave Chinner <dchinner@redhat.com>
Subject: xfsprogs/mkfs: what's the relationship between max trans res and min log size
Date: Mon, 18 May 2015 14:33:06 +0800	[thread overview]
Message-ID: <555987A2.3050604@foxmail.com> (raw)

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

             reply	other threads:[~2015-05-18  6:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18  6:33 Wang Sheng-Hui [this message]
2015-05-18 13:34 ` xfsprogs/mkfs: what's the relationship between max trans res and min log size Brian Foster
2015-05-18 23:28   ` Wang Sheng-Hui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555987A2.3050604@foxmail.com \
    --to=shhuiw@foxmail.com \
    --cc=dchinner@redhat.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox