Re: [PATCH 5.12 037/127] btrfs: zoned: pass start block to btrfs_use_zone_append

David Sterba
2021-05-25T12:04:14Z

On Mon, May 24, 2021 at 05:25:54PM +0200, Greg Kroah-Hartman wrote:
> From: Johannes Thumshirn <johannes.thumshirn@wdc.com>
>
> commit e380adfc213a13677993c0e35cb48f5a8e61ebb0 upstream.
>
> btrfs_use_zone_append only needs the passed in extent_map's block_start
> member, so there's no need to pass in the full extent map.
>
> This also enables the use of btrfs_use_zone_append in places where we only
> have a start byte but no extent_map.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
> Reviewed-by: David Sterba <dsterba@suse.com>
> Signed-off-by: David Sterba <dsterba@suse.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

As this is a prerequisite for the other patch, please drop it from
stable queue as well, thanks.