Re: [RFC PATCH] scsi: scsi_transport_srp: Move long delayed work on system_dfl_long_wq
From: Bart Van Assche
Date: Mon May 11 2026 - 16:27:05 EST
On 5/7/26 7:34 AM, Marco Crivellari wrote:
Currently the code enqueue work items using {queue|mod}_delayed_work(),Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
using system_long_wq. This workqueue should be used when long works are
expected and it is a per-cpu workqueue.
The function(s) end up calling __queue_delayed_work(), which set a global
timer that could fire anywhere, enqueuing the work where the timer fired.
Unbound works could benefit from scheduler task placement, to optimize
performance and power consumption. Long work shouldn't stick to a single
CPU.