• Eric Sandeen's avatar
    ext4: enable barriers by default · 571640ca
    Eric Sandeen authored
    I can't think of any valid reason for ext4 to not use barriers when
    they are available;  I believe this is necessary for filesystem
    integrity in the face of a volatile write cache on storage.
    
    An administrator who trusts that the cache is sufficiently battery-
    backed (and power supplies are sufficiently redundant, etc...)
    can always turn it back off again.
    
    SuSE has carried such a patch for ext3 for quite some time now.
    
    Also document the mount option while we're at it.
    Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
    Signed-off-by: default avatarMingming Cao <cmm@us.ibm.com>
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    571640ca
super.c 94.9 KB