[PATCH 03/15] Btrfs: Make raid_map array be inlined in btrfs_bio structure

2015-01-19 Thread Zhaolei
From: Zhao Lei It can make code more simple and clear, we need not care about free bbio and raid_map together. Signed-off-by: Miao Xie Signed-off-by: Zhao Lei --- fs/btrfs/raid56.c | 77 ++--- fs/btrfs/raid56.h | 11 +++--- fs/btrfs/scrub.c | 31

[PATCH 03/15] Btrfs: Make raid_map array be inlined in btrfs_bio structure

2015-01-13 Thread Zhaolei
From: Zhao Lei It can make code more simple and clear, we need not care about free bbio and raid_map together. Signed-off-by: Zhao Lei Signed-off-by: Miao Xie --- fs/btrfs/raid56.c | 77 ++--- fs/btrfs/raid56.h | 11 +++--- fs/btrfs/scrub.c | 31