Commit 26af1cd
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: e70feb8 ("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>1 parent 93542fb commit 26af1cd
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4476 | 4476 | | |
4477 | 4477 | | |
4478 | 4478 | | |
| 4479 | + | |
| 4480 | + | |
4479 | 4481 | | |
4480 | 4482 | | |
4481 | 4483 | | |
| |||
4595 | 4597 | | |
4596 | 4598 | | |
4597 | 4599 | | |
| 4600 | + | |
| 4601 | + | |
4598 | 4602 | | |
4599 | 4603 | | |
4600 | 4604 | | |
| |||
0 commit comments