Re: [PATCH 0/4] ksmbd: allow request dispatch on an unbound workqueue

From: Ian Bridges

Date: Tue Dec 01 2026 - 10:02:41 EST


I tested the series on ksmbd-for-next 87ff512becd4 with the v2
ksmbd-tools patch, on x86_64 with KASAN. Most tests ran on a kernel
built with the series, so ksmbd used the new workqueue exports.

Each server start used the queue that ksmbd.conf selected. The
selection worked for "percpu", for "unbound", and for an older
ksmbd.mountd that does not send the mode. The unbound queue showed
the CPU affinity scope in sysfs. Unloading ksmbd removed the sysfs
entry, and loading ksmbd again added the entry back. Writes to the
sysfs attributes worked while the server handled requests. When the
setup of the unbound queue was made to fail, the server reset and did
not listen. The next start of ksmbd.mountd brought the server up.
smbtorture gives the same results as on the base in both modes, and
KASAN reported nothing.

Reviewed-by: Ian Bridges <icb@xxxxxxxxxxxx>
Tested-by: Ian Bridges <icb@xxxxxxxxxxxx>