[PATCH] nvmet: fix workqueue MEM_RECLAIM flushing dependency

Sagi Grimberg sagi at grimberg.me
Tue Oct 11 23:40:11 PDT 2022


>> The keep alive timer needs to stay on nvmet_wq, and not
>> modified to reschedule on the system_wq.
> 
> Does it?  The keep alive timeout is required for making progress
> under heavy memory pressure.

nvmet_wq has WQ_MEM_RECLAIM. Also, note that keep_alive is initially
scheduled in nvmet_wq but mod_delayed_work incorrectly moved it to
the system_wq...



More information about the Linux-nvme mailing list