diff options
author | Hannes Reinecke <[email protected]> | 2023-12-08 13:53:20 +0100 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-01-10 13:27:32 -0800 |
commit | 07a29b134ce8e47aef15ea71eab8e6b3734a9720 (patch) | |
tree | 2e072857ee806bdfd582d92ae29b3e8db391edec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06c59d427017fcde3107c236177fcc74c9db7909 (diff) |
nvmet-tcp: avoid circular locking dependency on install_queue()
nvmet_tcp_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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions