aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMartin Wilck <[email protected]>2023-06-14 12:36:13 +0200
committerMartin K. Petersen <[email protected]>2023-06-16 12:19:59 -0400
commitd7035b73a73a79a1dc991fad0ee5f784559e81ed (patch)
treea5bfdcf61a78cfaa4ac8f6621c84a45a1972d417 /scripts/generate_rust_analyzer.py
parentc5e46f7ad43b0519980020378a2b00b339359968 (diff)
scsi: core: Don't wait for quiesce in scsi_stop_queue()
scsi_stop_queue() has just two callers, one with and one without "nowait". As blk_mq_quiesce_queue() comes down to blk_mq_quiesce_queue_nowait() followed by blk_mq_wait_quiesce_done(), we might as well open-code this in scsi_device_block(). Also, add a comment explaining why blk_mq_quiesce_queue_nowait() must be called with the state_mutex held, see https://lore.kernel.org/linux-scsi/[email protected]/. Signed-off-by: Martin Wilck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions