]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ext4: add EXT4_IOC_ALLOC_DA_BLKS ioctl
authorTheodore Ts'o <tytso@mit.edu>
Thu, 26 Feb 2009 06:04:07 +0000 (01:04 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Feb 2009 06:04:07 +0000 (01:04 -0500)
commitccd2506bd43113659aa904d5bea5d1300605e2a6
tree99a95645b3c2c092427b7c537c5628d502cd9c22
parentf63e6005bc63acc0a6bc3bdb8f971dcfbd827185
ext4: add EXT4_IOC_ALLOC_DA_BLKS ioctl

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>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/ioctl.c