• A
    ext4: Add support for 48 bit inode i_blocks. · 0fc1b451
    Aneesh Kumar K.V 提交于
    Use the __le16 l_i_reserved1 field of the linux2 struct of ext4_inode
    to represet the higher 16 bits for i_blocks. With this change max_file
    size becomes (2**48 -1 )* 512 bytes.
    
    We add a RO_COMPAT feature to the super block to indicate that inode
    have i_blocks represented as a split 48 bits. Super block with this
    feature set cannot be mounted read write on a kernel with CONFIG_LSF
    disabled.
    
    Super block flag EXT4_FEATURE_RO_COMPAT_HUGE_FILE
    Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    0fc1b451
inode.c 98.7 KB