From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.160 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796121380; b=ZlNQwQ2Nt/MvyhVnbcLwB0bmnoTk542sO7+SVSU1ZUk/ipGOJDG/6fpX5wSDrFxQzxBO qHhb/3prAMIV9tkmeYz2Nzh/ibl+p4l6Xa+DIxMBR17FktDgYRwK6ur5hZVQVl8uGJeAp JfDZHrteM5Lw2Xq1hp9Nyj796XNqRj24SAEv02KsVvOOpWxCZboPJ5MghqJNEU/GwYeid cyHPg29fS9GPIdn+JouGzmmJV7Lh71We8EMmYP7Q6R5iaLZ56xbtPsJ1SKMcEXwezhLIb 1rh/tZGEjrr+JdVbADNK/r3Aq+clKSoGXH3OqfQxZQcI7tT/BDlU1bFSAnOL7XK01cQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796121380; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=Msvzs+f5v1vy8bXKBqUI1TAJosFZVBpwiw0wGf34Q8c=; b=aFAqQfSvgw5bAm3fSNkmKXZ6ABjTv1twZ0tWjTbvDa+9b36kdROAjZf2GHBGRk2+pX4o 5xwdOCColQWSCjUYOlZKS9nWUtNzk2EeG3mCIBhAy6xMrCQ57DlZRNuB/fZVRr4X3uwRd 1ZfhyGdQzNt2pVhzkB9Ql253Jfhoqf77ZAYFsEYRV1Sq9GpKILpQYy+hZvnidKCA/+UF8 G0o20qa/aT7S4pXOC4K5GGQfdUzKYsuvu7bTURlbtNe8q10leeueEAbPEweW/H2GlG/KC 1ysv8OpuQg6NbDaPijGdfe3wHWAgfaweftCiHLtNJgtpknHAMC/q1WYSqyyFBFSeEJQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b="Z2InPGX/"; arc=none smtp.remote-ip=95.215.58.160 Received: from mta1.migadu.com (out-160.mta1.migadu.com [95.215.58.160]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D021606A32A for ; Tue, 1 Dec 2026 10:36:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2D021606A32A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=Z2InPGX/ X-Envelope-To: linux-cifs@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=xak9B9BHa9JvFL51qKO+Fg15pGEc3uy1GRdZebL5mec=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796121377; v=1; x=1796726177; b=Z2InPGX/rE630hglcwdHOf7u6cLx8NedynB3FF8U62RjFZUovz5wNs1RXy6tmq6CUU2RHctc RS/9YdsNUnTW+CQpsQJ95GXf5L3tJZjJ2XIccLMionWf87JgCip4+cfO6iYUq8QU4MTmc4Bz9xh oyjQxa/Yk39ydUK/aP7zN484= X-Envelope-To: linux-cifs@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 6f2333c624725b4a; Tue, 01 Dec 2026 10:36:17 +0000 X-Mizu-Trace-ID: 6f2333c624725b4a X-Migadu-Flow: FLOW_OUT Message-ID: Date: Tue, 1 Dec 2026 18:36:13 +0800 X-Mailing-List: linux-cifs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ksmbd-tools: add the "server request workqueue" option To: ChenXiaoSong , linux-cifs@vger.kernel.org Cc: linkinjeon@kernel.org, stefan.chulski@broadcom.com References: <20261201055429.2235941-1-huiwen.he@linux.dev> Content-Language: en-US From: hehuiwen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks for pointing this out. In v2, unrecognized values will fall back to "percpu" like other global options, so tools such as ksmbd.adduser are no longer affected (verified with an invalid value in ksmbd.conf). Thanks, Huiwen 在 2026/12/1 16:37, ChenXiaoSong 写道: > We can return -EINVAL only when executing ksmbd.mountd. > > ``` > --- a/tools/config_parser.c > +++ b/tools/config_parser.c > @@ -538,9 +538,11 @@ static int process_global_conf_kv(GHashTable *kv) >                         global_conf.request_wq_mode = KSMBD_WQ_PERCPU; >                 else if (!g_ascii_strcasecmp(v, "unbound")) >                         global_conf.request_wq_mode = KSMBD_WQ_UNBOUND; > -               else { > +               else if (TOOL_IS_MOUNTD) { >                         pr_err("Invalid server request workqueue > `%s'\n", v); >                         return -EINVAL; > +               } else { > +                       pr_info("Ignoring invalid server request > workqueue `%s'\n", v); >                 } >         } > ``` > > On 12/1/26 15:59, ChenXiaoSong wrote: >> An invalid value for "server request workqueue" in ksmbd.conf will >> also affect the execution of ksmbd.adduser. >> >> ksmbd.conf: >> ``` >> [global] >>      server request workqueue = invalid_value >> ``` >> >> ``` >> ksmbd.adduser --add new_user >> [ksmbd.adduser/5978]: ERROR: Invalid server request workqueue >> `invalid_value' >> ```