Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Btrfs: let allocation start from the right raid type
This'd avoid us empty looping. Say we have only one disk and the metadata raid type will be defaultly DUP, and we do not need to start from index=0(RAID10) and get over two empty loops to index=2(DUP). Signed-off-by: Liu Bo <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
- Loading branch information