]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Clear space_info full when adding new devices
authorChris Mason <chris.mason@oracle.com>
Tue, 10 Mar 2009 17:17:18 +0000 (13:17 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 10 Mar 2009 17:17:18 +0000 (13:17 -0400)
commit359819738805e2cfb43ddfdad56b1cb844f35f1c
treece01f54ffbd6ae871c4e11560ae1c826cffe4d3a
parent2805378d748990a601820c186919700e91c204a8
Btrfs: Clear space_info full when adding new devices

The full flag on the space info structs tells the allocator not to try
and allocate more chunks because the devices in the FS are fully allocated.

When more devices are added, we need to clear the full flag so the allocator
knows it has more space available.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c