Re: [PATCH v4 2/5] dm: Support I/O priority for dm_io()

From: Eric Biggers
Date: Tue Dec 12 2023 - 23:57:13 EST


On Tue, Dec 12, 2023 at 07:11:47PM +0800, Hongyu Jin wrote:
> From: Hongyu Jin <hongyu.jin@xxxxxxxxxx>
>
> Add ioprio field in struct dm_io_region, by this field
> specific I/O priority when call dm_io().
>
> Co-developed-by: Yibin Ding <yibin.ding@xxxxxxxxxx>
> Signed-off-by: Yibin Ding <yibin.ding@xxxxxxxxxx>
> Signed-off-by: Hongyu Jin <hongyu.jin@xxxxxxxxxx>

Is struct dm_io_region really the right place for this? What about
struct dm_io_request? Or a parameter to dm_io().

- Eric