Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2143413pxv; Sat, 17 Jul 2021 05:23:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgB6EIgh6KWtwmuuC3WTzCKwqmzWoUp5DNOacmw3/rnihUnJmAAVnRTmawGYjk+qn4uJFu X-Received: by 2002:a17:906:17c5:: with SMTP id u5mr17568235eje.326.1626524590295; Sat, 17 Jul 2021 05:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626524590; cv=none; d=google.com; s=arc-20160816; b=uSxZKBr/IngdiJGr0e4FvW1z+w5UAFMo4HnMtYi9GGt1Uq+5ow25ZeM1VJL1CT/T2Y gZF639T31iW4X3XvBl1y+WKCsGS44CxQhUBMuZ93auPpXOKG2IF52n/LDEcmMMh4krQU zF0lClk84G08IzsvSgwvyoDKwvkFX1HHqH07IsnujVbAYHo7WFWTTg58lupnpSAZXJMD arYqbQT6QUQGa7lYdFXkMBh+5f/PUC/5Wpm5THzjQUc09K82XGxl45OTXC9WCBSdke3K 1gGc062gCQvezoRxJ016X2gMMY4lriqDg8Y2MXkkMhCcreSYOTwErjJuHuod7R2rLshy hxjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gcD4BlYO0MJODsDv5lWH6aB5PZKfy3UHMX4EeHIRze0=; b=IYac/n7Vl139HhgnYSXKa90zQfW5mPBLmWEV/O9idKy1u5O6ZS8Hu/UyB0kvc361lc 2GR9tPwjSUoEaNSQrlIGiKCT0EJ5onyuirGCSyUPJbH9rF5ODOx+kQgTyIWwF2GEV0aq N6kfXFcyu62Dw72zc/Ibp1o6BvuNnOg2uog90jtZW0aHSrinC4ooK2SbeL/330LE6v31 7h9f9gIk1CRasKlWiROZWKHmp5ykoOyuUqiSwoUefmozRiuSn4KWM3IQ1vImQDqVd0+h dJHf65x9WYOhcWA1wOD+TI4NL7nmcFr1qg42uHTN3Wwb7aCNTe8/GYXHOXRI8HpGs9yY he3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=UKdaankA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si18946556edb.418.2021.07.17.05.22.46; Sat, 17 Jul 2021 05:23:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=UKdaankA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233382AbhGQMW7 (ORCPT + 99 others); Sat, 17 Jul 2021 08:22:59 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:55450 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbhGQMW7 (ORCPT ); Sat, 17 Jul 2021 08:22:59 -0400 Received: from spock.localnet (unknown [151.237.229.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 6924EB3A0CD; Sat, 17 Jul 2021 14:20:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1626524401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gcD4BlYO0MJODsDv5lWH6aB5PZKfy3UHMX4EeHIRze0=; b=UKdaankAPr0jcxwYSuFajzao+2C+/kY0QI+E6w340ovOHUIsN1phoIGsFcMj9LIFiZOpM2 +/dLezd7sR5sIby7C34UAOCtGj9Y1wmx+8vTOlWE2cyeaaKQiOyiGU2sRcv/a+z2KYX183 +5HO5bMs8da6m8YE4NcwQWxmw40YKVo= From: Oleksandr Natalenko To: Ming Lei Cc: linux-kernel@vger.kernel.org, Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, David Jeffery , Laurence Oberman , Paolo Valente , Jan Kara , Sasha Levin , Greg Kroah-Hartman , Keith Busch Subject: Re: New warning in nvme_setup_discard Date: Sat, 17 Jul 2021 14:19:59 +0200 Message-ID: <8988303.mDXGIdCtx8@natalenko.name> In-Reply-To: <5053297.vgnLoh5Ws3@natalenko.name> References: <4729812.CpyZKHjjVO@natalenko.name> <5053297.vgnLoh5Ws3@natalenko.name> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On sobota 17. =C4=8Dervence 2021 14:11:05 CEST Oleksandr Natalenko wrote: > On sobota 17. =C4=8Dervence 2021 11:35:32 CEST Ming Lei wrote: > > Maybe you need to check if the build is OK, I can't reproduce it in my > > VM, and BFQ is still builtin: > >=20 > > [root@ktest-01 ~]# uname -a > > Linux ktest-01 5.14.0-rc1+ #52 SMP Fri Jul 16 18:56:36 CST 2021 x86_64 > > x86_64 x86_64 GNU/Linux [root@ktest-01 ~]# cat > > /sys/block/nvme0n1/queue/scheduler > > [none] mq-deadline kyber bfq >=20 > I don't think this is an issue with the build=E2=80=A6 BTW, with `initcal= l_debug`: >=20 > ``` > [ 0.902555] calling bfq_init+0x0/0x8b @ 1 > [ 0.903448] initcall bfq_init+0x0/0x8b returned -28 after 507 usecs > ``` >=20 > -ENOSPC? Why? Also re-tested with the latest git tip, same result :(. OK, one extra pr_info, and I see this: ``` [ 0.871180] blkcg_policy_register: BLKCG_MAX_POLS too small [ 0.871612] blkcg_policy_register: -28 ``` What does it mean please :)? The value seems to be hard-coded: ``` include/linux/blkdev.h 60:#define BLKCG_MAX_POLS 5 ``` =2D-=20 Oleksandr Natalenko (post-factum)