[GIT PULL] Btrfs updates for 2.6.29-rc

Chris Mason
2009-02-26T15:09:21Z

Hello everyone,

We've had good results in testing Josef's initial enospc support for
btrfs. This mainly deals with better accounting of the data extents
that have been allocated for delalloc, and properly returning enospc for
new data writes that can't possibly succeed.

There is some metadata enospc support as well, but there is more work to
be done in that area. Because this code changes the time at which some
deep call chains are done, it also cuts down on the btrfs stack usage.

Linus, if you pull the master branch of:

git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git

You'll find:

Josef Bacik (2):
Btrfs: add better -ENOSPC handling
Btrfs: try committing transaction before returning ENOSPC

b/fs/btrfs/btrfs_inode.h | 8 +
b/fs/btrfs/ctree.h | 40 ++++++--
b/fs/btrfs/extent-tree.c | 57 ++++++++++--
b/fs/btrfs/file.c | 16 ++-
b/fs/btrfs/inode.c | 62 +++----------
b/fs/btrfs/ioctl.c | 6 -
fs/btrfs/extent-tree.c | 215
+++++++++++++++++++++++++++++++++++++++++++----
7 files changed, 318 insertions(+), 86 deletions(-)