• Theodore Ts'o's avatar
    ext4: Add auto_da_alloc mount option · afd4672d
    Theodore Ts'o authored
    Add a mount option which allows the user to disable automatic
    allocation of blocks whose allocation by delayed allocation when the
    file was originally truncated or when the file is renamed over an
    existing file.  This feature is intended to save users from the
    effects of naive application writers, but it reduces the effectiveness
    of the delayed allocation code.  This mount option disables this
    safety feature, which may be desirable for prodcutions systems where
    the risk of unclean shutdowns or unexpected system crashes is low.
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    afd4672d
namei.c 69 KB