From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: Yi Zhang <yi.zhang@redhat.com>,
linux-block@vger.kernel.org, linux-nvme@lists.infradead.org,
"Martin K . Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org,
James Bottomley <James.Bottomley@hansenpartnership.com>,
Ming Lei <ming.lei@redhat.com>
Subject: [PATCH V2 0/4] block: fix concurrent quiesce
Date: Tue, 9 Nov 2021 15:11:40 +0800 [thread overview]
Message-ID: <20211109071144.181581-1-ming.lei@redhat.com> (raw)
Hi Jens,
Convert SCSI into balanced quiesce and unquiesce by using atomic
variable as suggested by James, meantime fix previous nvme conversion by
adding one new API because we have to wait until the started quiesce is
done.
V2:
- add comment on scsi's change, as suggested by James, 3/4
- add reviewed-by tag, 4/4
Ming Lei (4):
blk-mq: add one API for waiting until quiesce is done
scsi: avoid to quiesce sdev->request_queue two times
scsi: make sure that request queue queiesce and unquiesce balanced
nvme: wait until quiesce is done
block/blk-mq.c | 28 ++++++++++++-----
drivers/nvme/host/core.c | 4 +++
drivers/scsi/scsi_lib.c | 62 ++++++++++++++++++++++++--------------
include/linux/blk-mq.h | 1 +
include/scsi/scsi_device.h | 1 +
5 files changed, 66 insertions(+), 30 deletions(-)
--
2.31.1
next reply other threads:[~2021-11-09 7:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 7:11 Ming Lei [this message]
2021-11-09 7:11 ` [PATCH V2 1/4] blk-mq: add one API for waiting until quiesce is done Ming Lei
2021-11-09 7:11 ` [PATCH V2 2/4] scsi: avoid to quiesce sdev->request_queue two times Ming Lei
2021-11-09 7:11 ` [PATCH V2 3/4] scsi: make sure that request queue queiesce and unquiesce balanced Ming Lei
2021-11-09 7:11 ` [PATCH V2 4/4] nvme: wait until quiesce is done Ming Lei
2021-11-09 14:41 ` [PATCH V2 0/4] block: fix concurrent quiesce Martin K. Petersen
2021-11-09 15:14 ` 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=20211109071144.181581-1-ming.lei@redhat.com \
--to=ming.lei@redhat.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=yi.zhang@redhat.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 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).