Re: [PATCH] btrfs: Derive compression type from extent map during reads

David Sterba
2022-04-27T20:28:43Z

On Wed, Apr 27, 2022 at 12:06:37PM +0300, Nikolay Borisov wrote:
>
>
> On 26.04.22 г. 16:47 ч., Goldwyn Rodrigues wrote:
> > Derive the compression type from extent map as opposed to the bio flags
> > passed. This makes it more precise and not reliant on function
> > parameters.
> >
> > Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
>
> This patch also makes extent_compress_type unused so it can be removed.
> Also extent_set_compress_type also becomes redundant and can be removed.

I have a cleanup patch removing extent_set_compress_type so I'll rebase
it on top of that patch.