Re: [PATCH 1/2] btrfs: switch the page and disk_bytenr argument position for submit_extent_page()

Anand Jain
2022-09-12T13:05:29Z

On 12/09/2022 14:28, Qu Wenruo wrote:
> Normally we put (page, pg_len, pg_offset) arguments together, just like
> what __bio_add_page() does.
>
> But in submit_extent_page(), what we got is, (page, disk_bytenr, pg_len,
> pg_offset), which sometimes can be confusing.
>
> Change the order to (disk_bytenr, page, pg_len, pg_offset) to make it
> to follow the common schema.
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>

Reviewed-by: Anand Jain <anand.jain@oracle.com>