Skip to contentSkip to conversation

Btrfs changes for 2.6.29-rc

DISCUSSION Chris Mason 1 participant 1 message Mar 19, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

The master branch of:

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

Has two commits fixing problems with adding devices or growing devices in a btrfs filesystem.

Basically the code that actually allocates space wasn't being properly told about the new space, and so the only way to make use of it was to unmount and mount again.

Chris Mason (2):
Btrfs: Fix locking around adding new space_info
Btrfs: Clear space_info full when adding new devices

 fs/btrfs/ctree.h       |    9 +++++++++
 fs/btrfs/extent-tree.c |   45 ++++++++++++++++++++++++++++++++++++++++++---
 fs/btrfs/volumes.c     |    8 ++++++++
 3 files changed, 59 insertions(+), 3 deletions(-)