[dm-devel] [PATCH 0/2] block/dm: add resubmit_bio_noacct for fixing iops throttling

Ming Lei ming.lei at redhat.com
Mon Jan 10 07:51:39 UTC 2022


Hello Guys,

Commit 4f1e9630afe6 ("blk-throtl: optimize IOPS throttle for large IO scenarios")
only fixes iops throttle for blk-mq drivers. This patchset adds API of resubmit_bio_noacct
so that we can use it for fixing the same issue on bio based drivers.

Meantime fix the issue on device mapper via the added API, and the issue
is reported by lining.

Ming Lei (2):
  block: add resubmit_bio_noacct()
  dm: use resubmit_bio_noacct to submit split bio

 block/blk-core.c       | 12 ++++++++++++
 block/blk-merge.c      |  4 +---
 drivers/md/dm.c        |  2 +-
 include/linux/blkdev.h |  1 +
 4 files changed, 15 insertions(+), 4 deletions(-)

Cc: lining <lining2020x at 163.com>
Cc: Tejun Heo <tj at kernel.org>
Cc: Chunguang Xu <brookxu at tencent.com>
-- 
2.31.1




More information about the dm-devel mailing list