diff options
| author | Keith Busch <[email protected]> | 2025-06-11 04:50:47 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2025-06-26 11:04:35 +0000 |
| commit | dd2c18548964ae7ad48d208a765d909cd35448a1 (patch) | |
| tree | dc7166defe73166fbf93139d533b89a68c312040 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | ublk: setup ublk_io correctly in case of ublk_get_data() failure (diff) | |
| download | kernel-dd2c18548964ae7ad48d208a765d909cd35448a1.tar.gz kernel-dd2c18548964ae7ad48d208a765d909cd35448a1.zip | |
nvme: reset delayed remove_work after reconnect
The remove_work will proceed with permanently disconnecting on the
initial final path failure if the head shows no paths after the delay.
If a new path connects while the remove_work is pending, and if that new
path happens to disconnect before that remove_work executes, the delayed
removal should reset based on the most recent path disconnect time, but
queue_delayed_work() won't do anything if the work is already pending.
Attempt to cancel the delayed work when a new path connects, and use
mod_delayed_work() in case the remove_work remains pending anyway.
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Nilay Shroff <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
