lib/repo: Minor fixes around min-free-space

Summary:
* Remove a useless if condition in prepare_transaction()
* Fix glnx_throw error propagation
* Integer overflow check while parsing min-free-space-size config
* Documentation fixes

Closes: #1663
Approved by: jlebon
This commit is contained in:
Umang Jain authored and Atomic Bot committed 2018-07-03 12:59:26 +00:00
1 parent 488365f9bf
commit 0c8b86ea09
3 files changed
+33 -31

No files matched your search

+3 -3
View File
@@ -126,10 +126,10 @@ Boston, MA 02111-1307, USA.
<varlistentry>
<term><varname>min-free-space-size</varname></term>
<listitem><para>Value (in MB, GB or TB) that specifies a minimum space (in blocks)
in the underlying filesystem to keep free. Also, note that min-free-space-percent
<listitem><para>Value (in MB, GB or TB) that specifies a minimum space in the
underlying filesystem to keep free. Also, note that min-free-space-percent
and min-free-space-size are mutually exclusive. Examples of acceptable values:
500MB, 1GB etc.
500MB, 1GB etc. The default value is 0MB, which disables this check.
</para></listitem>
</varlistentry>