From: ChenXiaoSong <chenxiaosong@chenxiaosong.com>
To: Huiwen He <huiwen.he@linux.dev>, linux-cifs@vger.kernel.org
Cc: linkinjeon@kernel.org, stefan.chulski@broadcom.com
Subject: Re: [PATCH v2] ksmbd-tools: add the "server request workqueue" option
Date: Tue, 1 Dec 2026 19:46:51 +0800 [thread overview]
Message-ID: <cd414cef-2cf6-4881-b2f2-95b7281f4cd3@chenxiaosong.com> (raw)
In-Reply-To: <20261201103834.2280954-1-huiwen.he@linux.dev>
Tested-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
On 12/1/26 18:38, Huiwen He wrote:
> From: Huiwen He <hehuiwen@kylinos.cn>
>
> Let administrators select the kernel workqueue for incoming SMB
> requests through ksmbd.conf. The global option accepts "percpu"
> (the default) or "unbound" and takes effect at server startup.
> Fall back to per-CPU for unrecognized values so a typo does not
> prevent mountd or other tools from loading the configuration.
>
> Pass the selected mode to the kernel in the last reserved byte
> of the startup request.
>
> Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
> ---
> Changes in v2:
> - Fall back to per-CPU for unrecognized values so ksmbd.adduser can
> still load ksmbd.conf, as reported by ChenXiaoSong.
>
> include/linux/ksmbd_server.h | 8 +++++++-
> include/tools.h | 1 +
> ksmbd.conf.5.in | 10 ++++++++++
> ksmbd.conf.example | 1 +
> mountd/ipc.c | 1 +
> tools/config_parser.c | 9 +++++++++
> 6 files changed, 29 insertions(+), 1 deletion(-)
--
ChenXiaoSong <chenxiaosong@chenxiaosong.com>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en
prev parent reply other threads:[~2026-12-01 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 10:38 [PATCH v2] ksmbd-tools: add the "server request workqueue" option Huiwen He
2026-12-01 11:34 ` ChenXiaoSong
2026-12-01 11:43 ` ChenXiaoSong
2026-12-01 11:46 ` ChenXiaoSong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd414cef-2cf6-4881-b2f2-95b7281f4cd3@chenxiaosong.com \
--to=chenxiaosong@chenxiaosong.com \
--cc=huiwen.he@linux.dev \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=stefan.chulski@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox