linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/14] A few bugfix and cleanup patches for blk-mq
@ 2023-01-11 13:01 Kemeng Shi
  2023-01-11 13:01 ` [PATCH v3 01/14] blk-mq: avoid sleep in blk_mq_alloc_request_hctx Kemeng Shi
                   ` (13 more replies)
  0 siblings, 14 replies; 25+ messages in thread
From: Kemeng Shi @ 2023-01-11 13:01 UTC (permalink / raw)
  To: hch, axboe, dwagner, hare, ming.lei, linux-block, linux-kernel
  Cc: john.garry, jack

Hi, this series contain several bugfix patches to fix potential io
hung and a few cleanup patches to remove stale codes and unnecessary
check. Most changes are in request issue and dispatch path. Thanks.

---
V3:
 -Collect Reviewed-by from Christoph
 -Add new patch "blk-mq: make blk_mq_commit_rqs a general function for all
commits" suggested-by Christoph
 -Move patch "blk-mq: remove unncessary from_schedule parameter in
blk_mq_plug_issue_direct" forwad. This is because of some abandoned
work, no influence anyway. No special attention should be paied.
 -Make patch based on rewriten blk_mq_commit_rqs.

V2:
 -Thanks Christoph for review and there are two fixes in v2 according
to recommends from Christoph.
  1)Avoid overly long line in patch "blk-mq: avoid sleep in
blk_mq_alloc_request_hctx"
  2)Check BLK_MQ_REQ_NOWAIT and BLK_MQ_REQ_RESERVED in two WARN_ON_ONCE
---

Kemeng Shi (14):
  blk-mq: avoid sleep in blk_mq_alloc_request_hctx
  blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
  blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
  blk-mq: Fix potential io hung for shared sbitmap per tagset
  blk-mq: remove unnecessary list_empty check in
    blk_mq_try_issue_list_directly
  blk-mq: remove unncessary from_schedule parameter in
    blk_mq_plug_issue_direct
  blk-mq: make blk_mq_commit_rqs a general function for all commits
  blk-mq: remove unncessary error count and commit in
    blk_mq_plug_issue_direct
  blk-mq: use blk_mq_commit_rqs helper in blk_mq_try_issue_list_directly
  blk-mq: simplify flush check in blk_mq_dispatch_rq_list
  blk-mq: remove unnecessary error count and check in
    blk_mq_dispatch_rq_list
  blk-mq: remove set of bd->last when get driver tag for next request
    fails
  blk-mq: use switch/case to improve readability in
    blk_mq_try_issue_list_directly
  blk-mq: correct stale comment of .get_budget

 block/blk-mq-sched.c |   7 +--
 block/blk-mq.c       | 147 ++++++++++++++++++++-----------------------
 2 files changed, 71 insertions(+), 83 deletions(-)

-- 
2.30.0


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

end of thread, other threads:[~2023-01-17  1:01 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-11 13:01 [PATCH v3 00/14] A few bugfix and cleanup patches for blk-mq Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 01/14] blk-mq: avoid sleep in blk_mq_alloc_request_hctx Kemeng Shi
2023-01-11  5:05   ` Christoph Hellwig
2023-01-11 13:01 ` [PATCH v3 02/14] blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 03/14] blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 04/14] blk-mq: Fix potential io hung for shared sbitmap per tagset Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 05/14] blk-mq: remove unnecessary list_empty check in blk_mq_try_issue_list_directly Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 06/14] blk-mq: remove unncessary from_schedule parameter in blk_mq_plug_issue_direct Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 07/14] blk-mq: make blk_mq_commit_rqs a general function for all commits Kemeng Shi
2023-01-11  5:45   ` Christoph Hellwig
2023-01-11  6:30     ` Kemeng Shi
2023-01-16  1:07       ` Kemeng Shi
2023-01-16 16:09         ` Christoph Hellwig
2023-01-16 16:13           ` Jens Axboe
2023-01-17  1:01             ` Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 08/14] blk-mq: remove unncessary error count and commit in blk_mq_plug_issue_direct Kemeng Shi
2023-01-11  5:06   ` Christoph Hellwig
2023-01-11 13:01 ` [PATCH v3 09/14] blk-mq: use blk_mq_commit_rqs helper in blk_mq_try_issue_list_directly Kemeng Shi
2023-01-11  5:19   ` Christoph Hellwig
2023-01-11 13:01 ` [PATCH v3 10/14] blk-mq: simplify flush check in blk_mq_dispatch_rq_list Kemeng Shi
2023-01-11  5:45   ` Christoph Hellwig
2023-01-11 13:01 ` [PATCH v3 11/14] blk-mq: remove unnecessary error count and " Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 12/14] blk-mq: remove set of bd->last when get driver tag for next request fails Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 13/14] blk-mq: use switch/case to improve readability in blk_mq_try_issue_list_directly Kemeng Shi
2023-01-11 13:01 ` [PATCH v3 14/14] blk-mq: correct stale comment of .get_budget Kemeng Shi

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).