]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: factor out block mapping for RAID10
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 13 Dec 2023 14:43:01 +0000 (06:43 -0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 22:03:58 +0000 (23:03 +0100)
commit8938f112b9c41aaf66f652fc18aa424d2990e15c
tree85b31d05295f5649648c155d69c591aa33b29716
parent5aeb15c8ca0d0cbd30e21391d2c7e25554f1e65e
btrfs: factor out block mapping for RAID10

Now that we have a container for the I/O geometry that has all the needed
information for the block mappings of RAID10, factor out a helper calculating
this information.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c