Home
last modified time | relevance | path

Searched hist:"8082510 e" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Drelocation.c8082510e Thu Nov 12 03:35:36 CST 2009 Yan, Zheng <zheng.yan@oracle.com> 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>
8082510e Thu Nov 12 03:35:36 CST 2009 Yan, Zheng <zheng.yan@oracle.com> 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>
H A Dinode.c8082510e Thu Nov 12 03:35:36 CST 2009 Yan, Zheng <zheng.yan@oracle.com> 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>