[PATCH] nvmet: make nvmet_wq unbound
Christoph Hellwig
hch at lst.de
Sun May 5 22:33:08 PDT 2024
On Sun, May 05, 2024 at 01:39:51PM +0300, Sagi Grimberg wrote:
> From: Sagi Grimberg <sagi.grimberg at vastdata.com>
>
> When deleting many controllers one-by-one, it takes a very
> long time as these work elements may serialize as they are
> scheduled on the executing cpu instead of spreading. In general
> nvmet_wq can definitely be used for long standing work elements
> so its better to make it unbound regardless.
This looks sensible, thanks.
> While we are at it, expose it via sysfs to allow cpumask
> control of this workqueue if a user wants to modify it.
This on the other looks very questionable to me. It needs a way better
justification and should be split into a separate patch if we really
need it.
More information about the Linux-nvme
mailing list