diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-11-09 10:11:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-09 18:14:27 +0300 |
commit | 26af1cd00364ce20dbec66b93ef42f9d42dc6953 (patch) | |
tree | 0f502ab12e931dd0c84c6ba8432e46b89c80d1f9 /block/blk-mq.c | |
parent | 93542fbfa7b726d053c01a9399577c03968c4f6b (diff) | |
download | linux-26af1cd00364ce20dbec66b93ef42f9d42dc6953.tar.xz |
nvme: wait until quiesce is done
NVMe uses one atomic flag to check if quiesce is needed. If quiesce is
started, the helper returns immediately. This way is wrong, since we
have to wait until quiesce is done.
Fixes: e70feb8b3e68 ("blk-mq: support concurrent queue quiesce/unquiesce")
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20211109071144.181581-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions