diff options
author | Hannes Reinecke <hare@suse.de> | 2023-12-08 13:53:20 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-01-10 13:27:32 -0800 |
commit | 07a29b134ce8e47aef15ea71eab8e6b3734a9720 (patch) | |
tree | 2e072857ee806bdfd582d92ae29b3e8db391edec /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
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 <hare@suse.de>
Tested-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions