aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/xattr.c
diff options
context:
space:
mode:
authorGravatar Yan, Zheng <zheng.yan@oracle.com> 2009-11-12 09:35:36 +0000
committerGravatar Chris Mason <chris.mason@oracle.com> 2009-12-17 12:33:34 -0500
commit8082510e7124cc50d728f1b875639cb4e22312cc (patch)
treee9f0a0a4504a87689b4765368b508fff5ae2ddf8 /fs/btrfs/xattr.c
parentBtrfs: Make fallocate(2) more ENOSPC friendly (diff)
downloadlinux-8082510e7124cc50d728f1b875639cb4e22312cc.tar.gz
linux-8082510e7124cc50d728f1b875639cb4e22312cc.tar.bz2
linux-8082510e7124cc50d728f1b875639cb4e22312cc.zip
Btrfs: Make truncate(2) more ENOSPC friendly
truncating and deleting regular files are unbound operations, so it's not good to do them in a single transaction. This patch makes btrfs_truncate and btrfs_delete_inode start a new transaction after all items in a tree leaf are deleted. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/xattr.c')
0 files changed, 0 insertions, 0 deletions