]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Add fallocate support v2
authorYan Zheng <zheng.yan@oracle.com>
Thu, 30 Oct 2008 18:25:28 +0000 (14:25 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 30 Oct 2008 18:25:28 +0000 (14:25 -0400)
commit82394129baf15a139f040bf0098dfb7522af8f8c
tree2969e3558f5c50ec0f9ac4201099c0d5d1d6e2c2
parent7dbde69fdd2af59868f22e00eabaf54f73363fca
Btrfs: Add fallocate support v2
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: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/extent_map.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/tree-log.c