ext4: add EXT4_IOC_ALLOC_DA_BLKS ioctl
commit5493749d2491380de2a06719a86125c122934c9d
authorTheodore Ts'o <tytso@mit.edu>
Tue, 2 Jun 2009 12:09:22 +0000 (2 08:09 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Jun 2009 03:01:47 +0000 (11 20:01 -0700)
treedd51605563e271bc7b061f73a19a8558ef9d7011
parentef38fe332870b7c1fb831c18ee5eb298a3e51b01
ext4: add EXT4_IOC_ALLOC_DA_BLKS ioctl

(cherry picked from commit ccd2506bd43113659aa904d5bea5d1300605e2a6)

Add an ioctl which forces all of the delay allocated blocks to be
allocated.  This also provides a function ext4_alloc_da_blocks() which
will be used by the following commits to force files to be fully
allocated to preserve application-expected ext3 behaviour.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/ioctl.c