diff options
| author | Hannes Reinecke <[email protected]> | 2023-12-08 13:53:21 +0100 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-01-10 13:27:45 -0800 |
| commit | 31deaeb11ba7a885116c9c30892b9f763c04d59c (patch) | |
| tree | cb074fe9e24f06493a217f85e1d4b5c8fb8e5254 /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | 07a29b134ce8e47aef15ea71eab8e6b3734a9720 (diff) | |
nvmet-rdma: avoid circular locking dependency on install_queue()
nvmet_rdma_install_queue() is driven from the ->io_work workqueue
function, but will call flush_workqueue() which might trigger
->release_work() which in itself calls flush_work on ->io_work.
To avoid that check for pending queue in disconnecting status,
and return 'controller busy' when we reached a certain threshold.
Signed-off-by: Hannes Reinecke <[email protected]>
Tested-by: Shin'ichiro Kawasaki <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions