Btrfs, raid56: don't change bbio and raid_map
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 Oct 2014 03:18:44 +0000 (11:18 +0800)
committerMiao Xie <miaox@cn.fujitsu.com>
Wed, 3 Dec 2014 02:18:44 +0000 (10:18 +0800)
commitb89e1b012c7f81123344058d5f245b844464d30c
treecffad28619632e95a9a59aa7ec50d774f012222c
parent6de65650758e819d3dfdc621010dcd6117e8d186
Btrfs, raid56: don't change bbio and raid_map

Because we will reuse bbio and raid_map during the scrub later, it is
better that we don't change any variant of bbio and don't free it at
the end of IO request. So we introduced similar variants into the raid
bio, and don't access those bbio's variants any more.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/raid56.c