Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2136959pxv; Sat, 17 Jul 2021 05:13:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTiRCsA/XtFIG5l6QR9ULQB4A0IAOHc81VLZg0eKjikzvHPh3cfxcUD8Ib4aYUq0wuzrUV X-Received: by 2002:a17:906:8313:: with SMTP id j19mr17631132ejx.548.1626523980789; Sat, 17 Jul 2021 05:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626523980; cv=none; d=google.com; s=arc-20160816; b=qI5ltIicczYVR6W1ZECtTRq0AKhW1i3IwjkJbAq99HbxkhxKOFLTv28xTzPKbY7BzW +Froo62vbYFxuzZ4iq2MCxWw2DesFoT1cOUmAUPUWCNv4WHn6bijOtx4liiOu32LRRWm VcdXrTt4n+7OdWRFa8bdvGOwhVUPLO2NvwJJ6xyNRGWyeu+j3t4gDTIHShPQWQPoL+x7 21WoXwsnZ4qToWSieyNV4dvj5pCzyejuDqUoCve6fwxxYg42CfT9S6AhijcmcrOxxkkY DP/pFht83I/BigumjSLlGTfOFG1eYKNkm6D6qpen/m3vkW26Dc6LlIJTJe3Hzl7LcQhG oowQ== 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=ZiYmFhPrslmr76pYV3BfLEoydJp7cUW1ZKuTXoytCwI=; b=RHTS6f88Xbe89FXVF4pdeAW1UlE0O02iKFzl0HKyE2GbT2VGCEcOBThryE9GIFjPLw LvdEieIMr12Nkay4jCrNCPUeb6x509bZ/n6qfbrKBLwOyRVdxJKVXp4f6L5rwk9c7vvS uDjNJtUAW7lntZsVdPVaDuYscqSKtIB+wkdOtc2sLBwJaGA6SWifporEfh2BLCXSRrTu uAsdUH2BCHVFSVZoHModn2MOeV+Z47Yerea+MkXuyFQ/QP6vV0fVsxVFNZvRXeq7UnT5 YynJegOYnAxVC1y1OpBBlfKsewRYydH9axRj5MGbwIvNvHSlJtHU78Jnm7gmn66y/zOc Fxtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=YZujDnMB; 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 j7si17849955ejm.492.2021.07.17.05.12.36; Sat, 17 Jul 2021 05:13:00 -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=YZujDnMB; 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 S233250AbhGQMOJ (ORCPT + 99 others); Sat, 17 Jul 2021 08:14:09 -0400 Received: from vulcan.natalenko.name ([104.207.131.136]:55448 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbhGQMOI (ORCPT ); Sat, 17 Jul 2021 08:14:08 -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 2DE27B3A08A; Sat, 17 Jul 2021 14:11:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1626523868; 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=ZiYmFhPrslmr76pYV3BfLEoydJp7cUW1ZKuTXoytCwI=; b=YZujDnMBrkFpzQGzkoFW9B2bWknm9tOvyaVlFaB+Z0/FpJb/lzOjxiPxvN91gpT5iawQnm SOPJJ/z8NYNuUJNJbGkhCmznPHAT7GXup8QG19ekSVrgWZeqOntWJJ25P+cufOH5gu8Tne 3NArO+yn9Q8P1XcFMoPp+BUojmikwCc= 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:11:05 +0200 Message-ID: <5053297.vgnLoh5Ws3@natalenko.name> In-Reply-To: References: <4729812.CpyZKHjjVO@natalenko.name> <1687461.6WkTYu5mUM@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 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 I don't think this is an issue with the build=E2=80=A6 BTW, with `initcall_= debug`: ``` [ 0.902555] calling bfq_init+0x0/0x8b @ 1 [ 0.903448] initcall bfq_init+0x0/0x8b returned -28 after 507 usecs ``` =2DENOSPC? Why? Also re-tested with the latest git tip, same result :(. > > So far the issue is not reproducible with your patch + 5.13.2 as well as > > 5.14- rc1 (but I don't have BFQ either with v5.14-rc1). >=20 > You have to verify it with BFQ applied, :-) Understandable=E2=80=A6 BTW, I'm still running v5.13.2 with your patch appl= ied and do=20 not see the issue. =2D-=20 Oleksandr Natalenko (post-factum)