• Yan Zheng's avatar
    Btrfs: Add fallocate support v2 · d899e052
    Yan Zheng authored
    This patch updates btrfs-progs for fallocate support.
    
    fallocate is a little different in Btrfs because we need to tell the
    COW system that a given preallocated extent doesn't need to be
    cow'd as long as there are no snapshots of it.  This leverages the
    -o nodatacow checks.
    Signed-off-by: default avatarYan Zheng <zheng.yan@oracle.com>
    d899e052
ctree.h 63.8 KB