mbox series

[-next,0/8] md/raid1-10: limit the number of plugged bio

Message ID 20230420112946.2869956-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series md/raid1-10: limit the number of plugged bio | expand

Message

Yu Kuai April 20, 2023, 11:29 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

This patchset tries to limit the number of plugged bio for raid1 and
raid10, which is done in the last patch, other patches are some refactor
and optimizations.

Yu Kuai (8):
  md/raid10: prevent soft lockup while flush writes
  md/raid1-10: rename raid1-10.c to raid1-10.h
  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: support to unplug bitmap asynchrously
  md/raid1{,0}: Revert "md/raid1{,0}: fix deadlock in bitmap_unplug."
  md/raid1-10: limit the number of plugged bio

 drivers/md/md-bitmap.c                | 61 ++++++++++++++++++++++++---
 drivers/md/md-bitmap.h                | 10 +++++
 drivers/md/{raid1-10.c => raid1-10.h} | 61 +++++++++++++++++++++++++--
 drivers/md/raid1.c                    | 32 +++-----------
 drivers/md/raid1.h                    |  2 +
 drivers/md/raid10.c                   | 45 ++++----------------
 drivers/md/raid10.h                   |  2 +
 7 files changed, 143 insertions(+), 70 deletions(-)
 rename drivers/md/{raid1-10.c => raid1-10.h} (64%)