]> Gentwo Git Trees - linux/.git/commit
btrfs: raid56: remove sector_ptr structure
authorQu Wenruo <wqu@suse.com>
Thu, 9 Oct 2025 04:40:01 +0000 (15:10 +1030)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:42:23 +0000 (22:42 +0100)
commit5387bd958180bfd7ffe454c8d2e7ae2782ebd4cc
tree2274f8def7cc7ed0584f8c7d4101f6563c4d783e
parent1810350b04ef38b375c64304e142de96d90404e1
btrfs: raid56: remove sector_ptr structure

Since sector_ptr structure is now only containing a single paddr, there
is no need to use that structure.

Instead use phys_addr_t array for bio and stripe pointers.

This means several helpers are also needed to accept a paddr instead of
a sector_ptr pointer.

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
fs/btrfs/raid56.h