commit | cc7539edea6dd02536d56f0a3405b8bb7ae24168 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Jan 20 15:11:32 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jan 21 18:06:47 2015 -0800 |
tree | cd1ab7dbecc7d7d4984002915277c2cba54989fc | |
parent | e34c330d639177bbb345bf2bde16613b00cc6e6b [diff] |
Btrfs: sort raid_map before adding tgtdev stripes It can avoid complex calculation of real stripes in sort, moreover, we can clean up code of sorting tgtdev_map because it will be in order initially. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>