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)
commit94efbe19b9f121e68625ac0edf0317075acc302e
treeb43b103a214e6682eb9aec49358e43be20bcdb75
parent29b068382c6fbc9abc0299783d64162d886e601b
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