]> git.hungrycats.org Git - linux/commit
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)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:18:00 +0000 (08:18 -0500)
commitada2b4c9b1dc5760707b4dd45a76bc4395cc91d2
tree90881ef967a83a18583f01be26177cc569e04fba
parent9f294f943c1f76761430c471a2b9a21f7fd3915f
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>
(cherry picked from commit b89e1b012c7f81123344058d5f245b844464d30c)
fs/btrfs/raid56.c