aboutsummaryrefslogtreecommitdiff
path: root/io_uring/fs.h
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@amd.com>2024-01-29 15:40:30 -0800
committerJakub Kicinski <kuba@kernel.org>2024-01-31 18:26:58 -0800
commitd9407ff11809c6812bb84fe7be9c1367d758e5c8 (patch)
treeb9937696e57a13ef7d2352dc2ef649e261af6bb6 /io_uring/fs.h
parent4d322dce82a1d44f8c83f0f54f95dd1b8dcf46c9 (diff)
pds_core: Prevent health thread from running during reset/remove
The PCIe reset handlers can run at the same time as the health thread. This can cause the health thread to stomp on the PCIe reset. Fix this by preventing the health thread from running while a PCIe reset is happening. As part of this use timer_shutdown_sync() during reset and remove to make sure the timer doesn't ever get rearmed. Fixes: ffa55858330f ("pds_core: implement pci reset handlers") Signed-off-by: Brett Creeley <brett.creeley@amd.com> Reviewed-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://lore.kernel.org/r/20240129234035.69802-2-brett.creeley@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'io_uring/fs.h')
0 files changed, 0 insertions, 0 deletions