| To: | xfs <xfs@xxxxxxxxxxx>, Dave Chinner <dchinner@xxxxxxxxxx> |
|---|---|
| Subject: | xfsprogs/mkfs: what's the relationship between max trans res and min log size |
| From: | Wang Sheng-Hui <shhuiw@xxxxxxxxxxx> |
| Date: | Mon, 18 May 2015 14:33:06 +0800 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | You have been selected for Inclusion., Jacob Smith |
|---|---|
| Next by Date: | Re: xfsprogs/mkfs: what's the relationship between max trans res and min log size, Brian Foster |
| Previous by Thread: | You can now create a younger, stronger, more energetic version of you, Telomerase |
| Next by Thread: | Re: xfsprogs/mkfs: what's the relationship between max trans res and min log size, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |