• Amit Arora's avatar
    fallocate support in ext4 · a2df2a63
    Amit Arora authored
    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: default avatarAmit Arora <aarora@in.ibm.com>
    a2df2a63
file.c 3.6 KB