Re: [PATCH -next v3 0/7] limit the number of plugged bio

From: Song Liu
Date: Tue Jun 06 2023 - 17:54:54 EST


On Mon, May 29, 2023 at 6:14 AM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> Changes in v3:
> - prefix function with 'raid1_' instead of 'md_'
> - use a globle workequeue instead of per bitmap in patch 5
> Changes in v2:
> - remove the patch to rename raid1-10.c
>
> Yu Kuai (7):
> md/raid10: prevent soft lockup while flush writes
> md/raid1-10: factor out a helper to add bio to plug
> md/raid1-10: factor out a helper to submit normal write
> md/raid1-10: submit write io directly if bitmap is not enabled
> md/md-bitmap: add a new helper to unplug bitmap asynchrously
> md/raid1-10: don't handle pluged bio by daemon thread
> md/raid1-10: limit the number of plugged bio

With the fix on 5/7, applied to md-next.

Thanks,
Song


>
> drivers/md/md-bitmap.c | 33 ++++++++++++++++++++--
> drivers/md/md-bitmap.h | 8 ++++++
> drivers/md/md.c | 9 ++++++
> drivers/md/md.h | 1 +
> drivers/md/raid1-10.c | 63 ++++++++++++++++++++++++++++++++++++++++++
> drivers/md/raid1.c | 29 ++++---------------
> drivers/md/raid10.c | 47 +++++++------------------------
> 7 files changed, 126 insertions(+), 64 deletions(-)
>
> --
> 2.39.2
>