diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2012-12-27 09:01:24 +0000 |
---|---|---|
committer | Josef Bacik <josef@toxicpanda.com> | 2013-01-14 13:52:52 -0500 |
commit | ac5c93005b7073732e268606688fb6c821d5310e (patch) | |
tree | 0c469fc83026b8756db5bc9f1f343768cb5dc0a1 /fs/mbcache.c | |
parent | f3fe820c20a1a36c790545184e734e78d61cd68d (diff) | |
download | talos-op-linux-ac5c93005b7073732e268606688fb6c821d5310e.tar.gz talos-op-linux-ac5c93005b7073732e268606688fb6c821d5310e.zip |
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 <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions