[master/f20/rhel7] Change XFS maximum to 1000T (#1016035)

Brian C. Lane bcl at redhat.com
Mon Nov 11 18:27:43 UTC 2013


On Mon, Nov 11, 2013 at 10:19:37AM -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> Resolves: rhbz#1016035
> ---
>  blivet/formats/fs.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
> index a360858..addb16a 100644
> --- a/blivet/formats/fs.py
> +++ b/blivet/formats/fs.py
> @@ -1189,7 +1189,7 @@ class XFS(FS):
>      _defaultFormatOptions = ["-f"]
>      _defaultLabelOptions = ["-L"]
>      _maxLabelChars = 16
> -    _maxSize = 100 * 1024 * 1024
> +    _maxSize = 1000 * 1024 * 1024
>      _formattable = True
>      _linuxNative = True
>      _supported = True
> -- 
> 1.8.3.1

Apparently the xfs tools don't enforce a maximum size, so we may want to
make it even bigger than this. I see tmpfs on 64 bit is using
16 * 1024 * 1024 * 1024 * 1024

which may be big enough for a little while.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list