linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] block/dm: add resubmit_bio_noacct for fixing iops throttling
@ 2022-01-10  7:51 Ming Lei
  2022-01-10  7:51 ` [PATCH 1/2] block: add resubmit_bio_noacct() Ming Lei
  2022-01-10  7:51 ` [PATCH 2/2] dm: use resubmit_bio_noacct to submit split bio Ming Lei
  0 siblings, 2 replies; 9+ messages in thread
From: Ming Lei @ 2022-01-10  7:51 UTC (permalink / raw)
  To: Jens Axboe, Mike Snitzer
  Cc: linux-block, dm-devel, Ming Lei, lining, Tejun Heo, Chunguang Xu

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@163.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Chunguang Xu <brookxu@tencent.com>
-- 
2.31.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-11  8:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-10  7:51 [PATCH 0/2] block/dm: add resubmit_bio_noacct for fixing iops throttling Ming Lei
2022-01-10  7:51 ` [PATCH 1/2] block: add resubmit_bio_noacct() Ming Lei
2022-01-10 17:35   ` Christoph Hellwig
2022-01-10 19:03     ` Mike Snitzer
2022-01-11  2:26       ` Ming Lei
2022-01-11  8:36       ` [dm-devel] " Christoph Hellwig
2022-01-11  1:56     ` Ming Lei
2022-01-11  8:42       ` [dm-devel] " Christoph Hellwig
2022-01-10  7:51 ` [PATCH 2/2] dm: use resubmit_bio_noacct to submit split bio Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).