All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Ming Lei <ming.lei@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	linux-block@vger.kernel.org, Hannes Reinecke <hare@suse.de>,
	Yu Kuai <yukuai3@huawei.com>
Subject: Re: [PATCH V2 0/5] blk-mq: Replace tags->lock with SRCU for tag iterators
Date: Sat, 30 Aug 2025 20:35:44 -0400	[thread overview]
Message-ID: <yq1v7m4gwfi.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20250830021825.2859325-1-ming.lei@redhat.com> (Ming Lei's message of "Sat, 30 Aug 2025 10:18:18 +0800")


Ming,

> Replace the spinlock in blk_mq_find_and_get_req() with an SRCU read
> lock around the tag iterators.
>
> Avoids scsi_host_busy() lockup during scsi host blocked in case of big
> cpu cores & deep queue depth.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>

-- 
Martin K. Petersen

  parent reply	other threads:[~2025-08-31  0:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-30  2:18 [PATCH V2 0/5] blk-mq: Replace tags->lock with SRCU for tag iterators Ming Lei
2025-08-30  2:18 ` [PATCH V2 1/5] blk-mq: Move flush queue allocation into blk_mq_init_hctx() Ming Lei
2025-08-30  2:18 ` [PATCH V2 2/5] blk-mq: Pass tag_set to blk_mq_free_rq_map/tags Ming Lei
2025-08-30  2:18 ` [PATCH V2 3/5] blk-mq: Defer freeing of tags page_list to SRCU callback Ming Lei
2025-08-30  2:18 ` [PATCH V2 4/5] blk-mq: Defer freeing flush queue " Ming Lei
2025-08-30  2:18 ` [PATCH V2 5/5] blk-mq: Replace tags->lock with SRCU for tag iterators Ming Lei
2025-10-03 17:17   ` [PATCH V2 5/5] blk-mq: Replace tags->lock with SRCU for tag iterators - Rockchip UFS regression Sebastian Reichel
2025-10-03 17:17     ` Sebastian Reichel
2025-10-04 14:42     ` Ming Lei
2025-10-04 14:42       ` Ming Lei
2025-10-06 18:02       ` Bart Van Assche
2025-10-06 18:02         ` Bart Van Assche
2025-10-06 23:03         ` Jens Axboe
2025-10-06 23:03           ` Jens Axboe
2025-08-31  0:35 ` Martin K. Petersen [this message]
2025-09-08  1:28 ` [PATCH V2 0/5] blk-mq: Replace tags->lock with SRCU for tag iterators Ming Lei
2025-09-08 14:07 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1v7m4gwfi.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=axboe@kernel.dk \
    --cc=hare@suse.de \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=yukuai3@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.