• Y
    Btrfs: Add fallocate support v2 · d899e052
    Yan Zheng 提交于
    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: NYan Zheng <zheng.yan@oracle.com>
    d899e052
extent-tree.c 133.5 KB