]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Link block groups of different raid types
authorYan, Zheng <zheng.yan@oracle.com>
Sun, 16 May 2010 14:46:24 +0000 (10:46 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 25 May 2010 14:34:47 +0000 (10:34 -0400)
commitb58bc2536e6a496b8cfde35294604f69884e6b2e
treeceac53988a3c158571fb91d54e3027403363fb47
parentc0a2e59e684cc5b4233a18f95bde7bf67f004e88
Btrfs: Link block groups of different raid types

The size of reserved space is stored in space_info. If block groups
of different raid types are linked to separate space_info, changing
allocation profile will corrupt reserved space accounting.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/super.c