Re: [PATCH 03/13] btrfs: factor out block-mapping for RAID0

Johannes Thumshirn
2023-12-13T09:02:20Z

On 13.12.23 09:51, Christoph Hellwig wrote:
>> +static void map_blocks_for_raid0(struct btrfs_chunk_map *map,
>
> I'd skip the _for here as it is a bit redundant.

OK.

>> + enum btrfs_map_op op,
>
> Looking at all the patches: shouldn't the op also go into the
> btrfs_io_geometry structure?

Would make sense yes.