diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-01-20 08:11:32 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-01-22 03:06:47 +0100 |
commit | cc7539edea6dd02536d56f0a3405b8bb7ae24168 (patch) | |
tree | cd1ab7dbecc7d7d4984002915277c2cba54989fc /fs/btrfs/disk-io.h | |
parent | Btrfs: fix a out-of-bound access of raid_map (diff) | |
download | linux-cc7539edea6dd02536d56f0a3405b8bb7ae24168.tar.xz linux-cc7539edea6dd02536d56f0a3405b8bb7ae24168.zip |
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>
Diffstat (limited to 'fs/btrfs/disk-io.h')
0 files changed, 0 insertions, 0 deletions