Check for RAID10 in set_avail_alloc_bits
authorChris Mason <chris.mason@oracle.com>
Wed, 15 Dec 2010 21:02:45 +0000 (16:02 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 22 Apr 2011 18:52:40 +0000 (14:52 -0400)
commitfe7caa7c4a3bb738d3eb3ac6edaa24c8b38ec95f
treef0998b5e07f95092b01bef3293063a38dad1c59b
parent7cd060deeac7828c8d0d7468d9c246d6c7ef77b2
Check for RAID10 in set_avail_alloc_bits

When raid is setup with mkfs, it is supposed to cow the initial filesystem
it creates up to the desired raid level.  RAID10 was not in the list
of RAID levels it checked for, so the initial FS created for RAID10
actually only lived on the first disk.

This works well enough because all the roots get quickly cowed during the
first mount.  The exception is the data relocation tree, which only gets
cowed when we do a balance.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
extent-tree.c