summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYan, Zheng <zheng.yan@oracle.com>2009-11-12 10:33:58 +0100
committerChris Mason <chris.mason@oracle.com>2009-12-16 03:24:25 +0100
commitad48fd754676bfae4139be1a897b1ea58f9aaf21 (patch)
treea48a051fa8716ba4be8f148f6d7d8ca47d93ab07 /tools
parentBtrfs: Avoid superfluous tree-log writeout (diff)
downloadlinux-ad48fd754676bfae4139be1a897b1ea58f9aaf21.tar.xz
linux-ad48fd754676bfae4139be1a897b1ea58f9aaf21.zip
Btrfs: Add btrfs_duplicate_item
btrfs_duplicate_item duplicates item with new key, guaranteeing the source item and the new items are in the same tree leaf and contiguous. It allows us to split file extent in place, without using lock_extent to prevent bookend extent race. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions