ext4: Add auto_da_alloc mount option
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Mar 2009 03:12:23 +0000 (23:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 17 Mar 2009 03:12:23 +0000 (23:12 -0400)
commitafd4672dc7610b7feef5190168aa917cc2e417e4
tree53a3aa709232b00473c8da70b792b350150956ff
parent7d39db14a42cbd719c7515b9da8f85a2eb6a0633
ext4: Add auto_da_alloc mount option

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: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/namei.c
fs/ext4/super.c