ext4: add EXT4_IOC_ALLOC_DA_BLKS ioctl
commit9dc84851a33e1dda83cfecfee130e26c92c8a3bb
authorTheodore Ts'o <tytso@mit.edu>
Tue, 2 Jun 2009 12:07:46 +0000 (2 08:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:23 +0000 (15 09:40 -0700)
tree6cf5010c788d24a082f78ef6518495675958ba2e
parent52afcdee3a1478d082fef2e1fddd7e0550d40b18
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