]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add support for mixed data+metadata block groups
authorJosef Bacik <josef@redhat.com>
Thu, 16 Sep 2010 20:19:09 +0000 (16:19 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 29 Oct 2010 13:26:36 +0000 (09:26 -0400)
commitdaa3d13dcf2d7b4948e6a5e5b98d757ed0a3af1a
tree5b295333ab943d24b190bd3fef2486dfffa7de47
parent3f06a87296c940f1c08dbf5c698c0f103f2f07b2
Btrfs: add support for mixed data+metadata block groups

There are just a few things that need to be fixed in the kernel to support mixed
data+metadata block groups.  Mostly we just need to make sure that if we are
using mixed block groups that we continue to allocate mixed block groups as we
need them.  Also we need to make sure __find_space_info will find our space info
if we search for DATA or METADATA only.  Tested this with xfstests and it works
nicely.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c