diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-08-18 11:54:30 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-08-31 20:45:45 +0200 |
commit | 7955323bdcab307bd8b1d5ef7a031e4a3d059da3 (patch) | |
tree | 16e0e3dafff50e394fa668d4229deeb544839dd6 /fs/btrfs/scrub.c | |
parent | btrfs: fix compile when block cgroups are not enabled (diff) | |
download | linux-7955323bdcab307bd8b1d5ef7a031e4a3d059da3.tar.xz linux-7955323bdcab307bd8b1d5ef7a031e4a3d059da3.zip |
btrfs: Update out-of-date "skip parity stripe" comment
Because btrfs support scrub raid56 parity stripe now.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to '')
-rw-r--r-- | fs/btrfs/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index c69c75e7b841..6f913604799d 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -3280,13 +3280,13 @@ static noinline_for_stack int scrub_stripe(struct scrub_ctx *sctx, scrub_blocked_if_needed(fs_info); } - /* for raid56, we skip parity stripe */ if (map->type & BTRFS_BLOCK_GROUP_RAID56_MASK) { ret = get_raid56_logic_offset(physical, num, map, &logical, &stripe_logical); logical += base; if (ret) { + /* it is parity strip */ stripe_logical += base; stripe_end = stripe_logical + increment; ret = scrub_raid56_parity(sctx, map, scrub_dev, |