]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: raid56: introduce new cached members for btrfs_raid_bio
authorQu Wenruo <wqu@suse.com>
Fri, 1 Apr 2022 11:23:18 +0000 (19:23 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:14 +0000 (17:03 +0200)
commita2a39b1a4d85366d8dec9d9a3d3f30be295426b8
treeb43b103a214e6682eb9aec49358e43be20bcdb75
parent3996549d959a6844527a4020e915a63f5ef558ff
btrfs: raid56: introduce new cached members for btrfs_raid_bio

The new members are all related to number of sectors, but the existing
number of pages members are kept as is:

- nr_sectors
  Total sectors of the full stripe including P/Q.

- stripe_nsectors
  The sectors of a single stripe.

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