summaryrefslogtreecommitdiffstats
path: root/lib/raid6
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-12-15 18:18:09 +0800
committerChris Mason <clm@fb.com>2016-01-19 18:43:45 -0800
commitad1ba2a0c453db255f04b17101db6d05c44d8467 (patch)
tree76b4b001d9c01a6bd8376fd851266bad6256f250 /lib/raid6
parent94a97dfeb61e32a213ca5519b063076c5201c5b2 (diff)
downloadtalos-op-linux-ad1ba2a0c453db255f04b17101db6d05c44d8467.tar.gz
talos-op-linux-ad1ba2a0c453db255f04b17101db6d05c44d8467.zip
btrfs: Use direct way to determine raid56 write/recover mode
Old code used bbio->raid_map to determine whether in raid56 write/recover operation, because we didn't't have bbio->map_type. Now we have direct way for this condition, rid of using the function-relative data, and make the code more readable. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud