• Theodore Ts'o's avatar
    ext4: drop ec_type from the ext4_ext_cache structure · b05e6ae5
    Theodore Ts'o authored
    We can encode the ec_type information by using ee_len == 0 to denote
    EXT4_EXT_CACHE_NO, ee_start == 0 to denote EXT4_EXT_CACHE_GAP, and if
    neither is true, then the cache type must be EXT4_EXT_CACHE_EXTENT.
    This allows us to reduce the size of ext4_ext_inode by another 8
    bytes.  (ec_type is 4 bytes, plus another 4 bytes of padding)
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    b05e6ae5
ext4.h 72.7 KB