fallocate support in ext4
authorAmit Arora <aarora@in.ibm.com>
Wed, 18 Jul 2007 01:42:41 +0000 (21:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jul 2007 01:42:41 +0000 (21:42 -0400)
commita2df2a63407803a833f82e1fa6693826c8c9d584
treedb761e8d82dbbe53e166511a9f8af9162541a212
parent97ac73506c0ba93f30239bb57b4cfc5d73e68a62
fallocate support in ext4

This patch implements ->fallocate() inode operation in ext4. With this
patch users of ext4 file systems will be able to use fallocate() system
call for persistent preallocation. Current implementation only supports
preallocation for regular files (directories not supported as of date)
with extent maps. This patch does not support block-mapped files currently.
Only FALLOC_ALLOCATE and FALLOC_RESV_SPACE modes are being supported as of
now.

Signed-off-by: Amit Arora <aarora@in.ibm.com>
fs/ext4/extents.c
fs/ext4/file.c
include/linux/ext4_fs.h
include/linux/ext4_fs_extents.h