commit | 10f11900167a83e0c229c4c27e73e720ebd55b5c | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Jan 20 15:11:43 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jan 21 18:06:49 2015 -0800 |
tree | ab1a3b7bd34f51ea09ef505ed518423332f53a99 | |
parent | be50a8ddaae1d07135fd7e1c7017c1611075a560 [diff] |
Btrfs: Include map_type in raid_bio Corrent code use many kinds of "clever" way to determine operation target's raid type, as: raid_map != NULL or raid_map[MAX_NR] == RAID[56]_Q_STRIPE To make code easy to maintenance, this patch put raid type into bbio, and we can always get raid type from bbio with a "stupid" way. 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>