]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: raid56: avoid double for loop inside raid56_rmw_stripe()
authorQu Wenruo <wqu@suse.com>
Wed, 8 Jun 2022 00:34:35 +0000 (08:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:35 +0000 (17:45 +0200)
commit70f0b6615e445e45f8dc28bbc6b32fa6d2cc6d39
tree3a6bceaf8b493c3c2a558cc15b269eb5fdba4ec2
parent73320ea67581ecf0d00ab3d917de317f0cb6aa23
btrfs: raid56: avoid double for loop inside raid56_rmw_stripe()

This function doesn't even utilize full stripe skip, just iterate all
the data sectors is definitely enough.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c