Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp57659lqe; Wed, 3 Apr 2024 22:17:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3fbcin6WyV7UUTHtt86oZjGIxHfDLdIWbJdbKIFumNPWTZZLJCkeMyharLsGx1G5AeYfQ5YmTub05Q/eOThGjSG2o1exuJ88PKSKi0Q== X-Google-Smtp-Source: AGHT+IESz57/nMHzyfKyA1inloQSqJTyYCGzn5wfOdmoiMGsTkYen8TZqlIqp3wFxZ9/F+kzxqID X-Received: by 2002:a05:6a20:6c8a:b0:1a3:7de2:12b6 with SMTP id em10-20020a056a206c8a00b001a37de212b6mr1311282pzb.26.1712207862171; Wed, 03 Apr 2024 22:17:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712207862; cv=pass; d=google.com; s=arc-20160816; b=HHBBKE/mIykTaMKrIrY5Z3qjGGQj6Epb6ONMSpo6FwqC/vtwF+PwuunDQmR5nZupMR EuGz0C55ZW9N67Jsjp9XUhFAsBWfQl4wkSSt5wTfvkFuOTd8xhN+ZZmam0WEPnZH4Uhe ncUeDEDmP7VEepj0XJcoZRz+B9EbGg6FoGI/X6mNF6uWm2jN2PWdeiOKT0YWhhObj/vJ TwnvEdoYBbn8uL0Eu0FY9xlEjpudgMKYSxlwoiFZhn8rcjEmh98iKT/JKwTZ/18+FZip ZTLeoX80yibKaXvPktv2FxWf4Pn4r1DqPz78q3aZ/AQVPrvr4UK3FvL0QdcmyHFsgATt ZmVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KLOzrdQ2ancdm/th7khf3pt812rDDzkaRsHDz4LWANw=; fh=G3O05pamiEdp6q9L1/CJpezZxo8Ctfr+394UZNhI1Ew=; b=fq0dWUQARUMghSfFui0O+Wbwc+xK+BZ3/ONOVecd6CZrpNcU5x0QrIig1jTbSuWV/s AwmJG0D75wPQmtWEbqbC0rCf48t4T+umLhl4L3b/KGNfyUKBKzCIb9vsO9pugzDU1Z0H BrfHtmqSIamq4M3h0l+Vkn5IPyD5XmcZTKj9Wn0yyaLwfdrDXW49XOyKc+e2ePhxg8RP gB01iEJ6D9f1YUSwi+EifWCXqvxlEBFbdFsXdn/hr5sGXXgVvPSCLsLPHU8cpjdVNCxD ZJZ9orXgEyMH08kPAgPkSjWrN+ofmYYEvU1GIfWD04P/2Z1bkf2pety6D3h2Acp7BQkD isFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CHleygwg; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-130908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130908-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c8-20020a17090ad90800b0029bcf631044si971173pjv.92.2024.04.03.22.17.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:17:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CHleygwg; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-130908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130908-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5CAC8282386 for ; Thu, 4 Apr 2024 05:16:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4069B5D8E1; Thu, 4 Apr 2024 05:13:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CHleygwg" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 474475D734; Thu, 4 Apr 2024 05:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207628; cv=none; b=SjByQ+Uo1aosMFTARrgFiGs0i05SZR8sQA3QUsTcp1PyGczl7zDRf2qrFH7EppjhcJsJ6AxGCPMfrLq0sTE1L2C6yllXnb6fC/UivIBwYQNqNiwDW4PK0cHFdeDGoblLDGjxqlbwGdPsZ4zA4nXzdAeieNsfHPmNcWxVZwtS4vk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207628; c=relaxed/simple; bh=igXeosfkBTaoM9X6CjC7IK5y1qjX9vxXcrQ9XZ1wa1g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e/97lX0ZgDS88yzPuCMgOR9ADPOOPQX3y+NAsumIwxhudma7jPu/JdCx+Nu7a/aZ/4vSrPwvDPCwXKeSCOkolH+vGRoA3F5iEbaXGaXUBuw0+Me4XMasP1+mF7qHA8mlIEOEEq8btqVKD9oYn31YDkiiMfnt6OVdcgq5InwJofc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CHleygwg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C91DC43390; Thu, 4 Apr 2024 05:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712207627; bh=igXeosfkBTaoM9X6CjC7IK5y1qjX9vxXcrQ9XZ1wa1g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CHleygwgLS/PSqH3c004VK3VF2KxonjO+QwA8pw2TeyQ7L6RJS7NQ3JvGKXlWQvBO ERNuetVU8xmDNfy4DTdBtc5cw4taftZsmHmvlJ4Dh81SFnWQFDbKDCMpy7dO0KyU9h k2poqIEJYH2xtVEjkhkS4KdEMfMglrtmtkumvqGg= Date: Thu, 4 Apr 2024 07:13:44 +0200 From: Greg KH To: Joseph Salisbury Cc: hch@lst.de, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, axboe@kernel.dk, sashal@kernel.org, stable@vger.kernel.org, Francis Ginther Subject: Re: [v5.15 Regression] block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART Message-ID: <2024040407-bucket-sank-25a4@gregkh> References: <924449dc-9b1f-4943-afe3-a68c03aedbb5@canonical.com> <2024040329-unstopped-spelling-64c8@gregkh> <2024040306-putdown-grain-daf7@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2024040306-putdown-grain-daf7@gregkh> On Wed, Apr 03, 2024 at 08:40:00PM +0200, Greg KH wrote: > On Wed, Apr 03, 2024 at 02:06:28PM -0400, Joseph Salisbury wrote: > > > > > > On 4/3/24 13:54, Greg KH wrote: > > > On Wed, Apr 03, 2024 at 01:50:09PM -0400, Joseph Salisbury wrote: > > > > Hi Christoph, > > > > > > > > A kernel bug report was opened against Ubuntu [0].? This bug is a regression > > > > introduced in mainline version v5.17-rc1 and made it's way into v5.15 stable > > > > updates. > > > > > > > > The following commit was identified as the cause of the regression in 5.15: > > > > > > > > c6ce1c5dd327 ("block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART") > > > How is renaming a define a "regression"? > > The "regression" is experienced after upgrading to the kernel to the version > > that introduced this commit. > > The v5.15.131 kernel works as expected, upgrading the kernel to v5.15.132 > > breaks behavior that worked in a prior kernel version. > > Reverting commit c6ce1c5dd327 in v5.15.132 allows the experience to be as > > before in v5.15.131. > > What "experience" are you talking about here? Please be specific. What > exactly "broke", what is the build error that happens? > > > > > I was hoping to get your feedback, since you are the patch author. Is the > > > > best approach to revert this commit, since many third parties rely on the > > > > name being GENHD_FL_NO_PART_SCAN in kernel headers? > > > External kernel modules are never an issue. Is this a userspace thing? > > > > > > > ?Is there a specific need that you know of that requires this commit > > > > in the 5.15 and earlier stable kernels? > > > Yes. And Christoph did not do the backport, so I doubt he cares :) > > > > > > Again, what in-kernel issue is caused by this? > > > > Third party code that relies on the kernel-headers will no longer compile > > due to the name change.? Should we not care if we break things, even in > > userspace? > > Is this userspace, or is it kernel drivers? > > If kernel drivers, you know that there s no stable kernel api, we > rename and change things all the time, even in stable kernel trees, for > good reasons (see the set of patches that were applied that contained > this change.) Do you want to have unfixed security issues, or do you > want a secure kernel that happens to rename variables at times? Given the lack of response, I am going to assume that this means you are referring to out-of-tree kernel code and this is not a real "regression" at all. greg k-h