[PATCH 5/5] Update the fs size limit for ext3/ext4 from 8TB to 16TB.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This depends only on the block size, which can only be overridden
by someone selecting an fsprofile with a smaller block size.

(cherry picked from commit cda63ee8b3632bead73db1af8f40e23fc6274dee)

Resolves: rhbz#767727
---
 storage/formats/fs.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index cf72735..d4f60ff 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1048,6 +1048,12 @@ class Ext3FS(Ext2FS):
     _defaultMigrateOptions = ["-O", "extents"]
     partedSystem = fileSystemType["ext3"]
 
+    # It is possible for a user to specify an fsprofile that defines a blocksize
+    # smaller than the default of 4096 bytes and therefore to make liars of us
+    # with regard to this maximum filesystem size, but if they're doing such
+    # things they should know the implications of their chosen block size.
+    _maxSize = 16 * 1024 * 1024
+
 register_device_format(Ext3FS)
 
 
-- 
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux