Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5757032rwb; Tue, 22 Nov 2022 04:40:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf4imzYrQew0Uq7Jjc1/GX3VF8prmiO+fC02rz6vAkJPIkTGwXBUpNbqT48NUBSinXGxSCSF X-Received: by 2002:a17:902:f609:b0:188:a8a2:f43a with SMTP id n9-20020a170902f60900b00188a8a2f43amr12287909plg.130.1669120826868; Tue, 22 Nov 2022 04:40:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669120826; cv=none; d=google.com; s=arc-20160816; b=pYmXKdh8E8+4Oi4u43AYj+cseaj0REdOdpRpKaASRGJSwfLrayGd6Q5dkU4VQ4E518 5uWGRa8JATDfkFeEw5yRjqibdM+48RALfraXCCSlClRGUjRDVNcyeWkk2N+k1LTIJ6zv WeDXKQxWkLcpnkCRQR60L1NIeMM1J13axfHTMm8skCws5RjhNsGKIAaRCylcZ/r0ddCb 8AAiMgSskbnz1USqQ10zzbyucA+CMrzYqU8wixFyU9KnwQ84/fzCf0YvGyRrQKJkbzqS VEloQys6e96x4Ez0aq/7NuZQHH+myAQI+UIm89mEF9txNjRzOMT2KrKdanKagGZPRQIQ K+7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=bLu/KvzJPCTB/Xa7S7YY3MbbLXv7uV0njFU8uvir2CM=; b=j8jU3f5d1yOoT/kserMTyInlJtf4bZ/5moVI3T5HNZtHvH5031wAWTLLjE9KJObPn9 oYIs/JzhnvhBa+qJvSzxG7DpvE5Tvu4dJav6N1EvCY9hknK94e9xvhC1xe0uhhJZyDKk H71N0wF6OL0XcfY2NElR3bs6WukXD5nXe2nXUJkrEMWJZGyZCuKbAkhEIMZBsyhSOKSN lyocsQGThSjZZ3yRz2vO5BSdtuBQ/YRpg8ZEDyaUt2+GHbA7gbHNKvaAx1v0LubHjUjE SbUWSseQwM/bZPu7WHgKRPfDgcrq99UzRlB9pswA19SZzfSBu+1754uOB1fff9iEv8Yb kSLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=EDHX+WnC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a63d811000000b0046eecbac47esi13703195pgh.28.2022.11.22.04.40.15; Tue, 22 Nov 2022 04:40:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=EDHX+WnC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232159AbiKVL4r (ORCPT + 90 others); Tue, 22 Nov 2022 06:56:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232154AbiKVL4p (ORCPT ); Tue, 22 Nov 2022 06:56:45 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5B3126AD4; Tue, 22 Nov 2022 03:56:43 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 24B071C09DB; Tue, 22 Nov 2022 12:56:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1669118202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=bLu/KvzJPCTB/Xa7S7YY3MbbLXv7uV0njFU8uvir2CM=; b=EDHX+WnCmFMJzNVMipcOujGTEfG4y2dPEqZGEmYyyTFEzrhRwKwVpL+cN/UP3CC5OUPF97 qKfjzGpjBNGhmY4NmP8tNeoM6DwV2ah3XjObU60xPt4g3p1wSct8jluvAB5O3M+rMzWnJe w9jN9XGLem7jr/QogEzlCixGhfV0H+U= Date: Tue, 22 Nov 2022 12:56:41 +0100 From: Pavel Machek To: kernel list , josef@toxicpanda.com, linux-block@vger.kernel.org, nbd@other.debian.org Subject: nbd: please don't spawn 16 threads when nbd is not even in use Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xPdvxnZFnwXOEoiz" Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xPdvxnZFnwXOEoiz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! I see this... and it looks like there are 16 workqueues before nbd is even used. Surely there are better ways to do that? Best regards, Pavel 257 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd0= -recv =20 260 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= -recv =20 263 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd2= -recv =20 266 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd3= -recv =20 269 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd4= -recv =20 272 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd5= -recv =20 275 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd6= -recv =20 278 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd7= -recv =20 281 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd8= -recv =20 284 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd9= -recv =20 287 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= 0-recv =20 290 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= 1-recv =20 293 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= 2-recv =20 296 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= 3-recv =20 299 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= 4-recv =20 302 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nbd1= 5-recv =20 --=20 People of Russia, stop Putin before his war on Ukraine escalates. --xPdvxnZFnwXOEoiz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCY3y4+QAKCRAw5/Bqldv6 8hPjAKCzzoppkzpcMQzHpbLeYPjW5+/pfgCgn+QgASwdXiGIGIJSvP7peIs5mLo= =5DEI -----END PGP SIGNATURE----- --xPdvxnZFnwXOEoiz--