lkml.org 
[lkml]   [2023]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v5 1/5] block: Fix bio IO priority setting
Mike Snitzer <snitzer@kernel.org> 于2023年12月14日周四 00:58写道:
>
> On Wed, Dec 13 2023 at 5:42P -0500,
> Hongyu Jin <hongyu.jin.cn@gmail.com> wrote:
>
> > From: Hongyu Jin <hongyu.jin@unisoc.com>
> >
> > Move bio_set_ioprio() into submit_bio():
> > 1. Only call bio_set_ioprio() once to set the priority of original bio,
> > the bio that cloned and splited from original bio will auto inherit
> > the priority of original bio in clone process.
> >
> > 2. The IO priority can be passed to module that implement
> > struct gendisk::fops::submit_bio, help resolve some
> > of the IO priority loss issues.
> >
> > This patch depends on commit 82b74cac2849 ("blk-ioprio: Convert from
> > rqos policy to direct call")
> >
> > Fixes: a78418e6a04c ("block: Always initialize bio IO priority on submit")
> >
> > Co-developed-by: Yibin Ding <yibin.ding@unisoc.com>
> > Signed-off-by: Yibin Ding <yibin.ding@unisoc.com>
> > Signed-off-by: Hongyu Jin <hongyu.jin@unisoc.com>
>
> Would be nice to get this block core fix upstream ASAP independent of
> your various DM changes.
dm modification depends on block modification to have effect, so it is
reviewed together.
>
> Please simplify this patch's header like was requested in review of v4:
> https://patchwork.kernel.org/project/dm-devel/patch/20231212111150.18155-2-hongyu.jin.cn@gmail.com/
ok, i will send the header。

\
 
 \ /
  Last update: 2023-12-18 02:25    [W:0.123 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site