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

From: Yu Kuai
Date: Mon May 29 2023 - 09:15:17 EST


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

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