Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp752489lqb; Wed, 17 Apr 2024 09:39:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWholGFIqkO3+/XFnuVoJvjBd+uD5QTZq5AT++8V2vq0spTm7Uf5gF0bG5z+VfGqc0cEuGSWgsWyMRbvpVgz3qDkiUD5h7+m2h5dA/GWw== X-Google-Smtp-Source: AGHT+IHAqF9AT/NlA3pIGyEKP+XN3Ya6AOfypKO6dg4q25Vk8srv/SLYhwH6v+lIwp2zL3NnAEcL X-Received: by 2002:a05:6a00:4b52:b0:6ec:da6c:fd42 with SMTP id kr18-20020a056a004b5200b006ecda6cfd42mr79938pfb.5.1713371954351; Wed, 17 Apr 2024 09:39:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713371954; cv=pass; d=google.com; s=arc-20160816; b=Clpjd6FuU+glYm3XU1HmZDADBg23elTcGp+W29WlhFgCD3WX0UeNpb0uhlrjVEAD3P obqGU3HUpLAzdwFwsZYaRIQucAmJQBW8eQ3vpudG45z+pfmisC56mdNk/w6Two7hHUP8 nsdMW4U2CC7hIXm2hyDu1zFRzM0pkWd55VYM/ynMnhCMawNvSeOZD8BsRq1qcgsM/ooL YVyiRTXZ7V58FY6SkD+u3H44YaTMnAg6lwfCajcmLLSAmMv9VIphDGhBGKtM8+UD2Hcl qriI5LUPF3EFtJeOzIJNhWZ0qInjnXizJkTFDTVpLyvILTU9MVeMYXtY+b43VOkEWwMh zL8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=YechjgpJe8ABz76b5YHr4F7eUm/y5TLTz4/ksVbiZIw=; fh=JuLDFRaIZ5qT1ofDZduWqTVlumgTZvHS8unClDo7AH4=; b=gO6GqTwkJjbtu+6UI1oFduEk9srX4sTmHKMz/VkMglz08JJLb+Uq+lUJS851O1AQQ9 k6ewu8m0BmCkQM2uFS8vnhCBzm9yc4ZMME6+7fXcCcMiYC+FdWjRC11/q1SU2et2tl30 s4/X2WRZZfYEcFNtGy8nKSlahIXzoUVldsX+kj+j7XqPcPubFgf0HJ2dXAbzXy+cl1cw huaJtX3P20q54TinJ1NQFzt/KV4vzHr1mJvjIrXkixR8gLzeDFpWVOsl2MTYNMhbsYhj /yGgF1nNVPa1QF4mGEVSzBbeGBwYCXuT9msSgmGJamAyISOfecgdhEXG5RgTHPjN0Ary 5Lyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-148921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148921-linux.lists.archive=gmail.com@vger.kernel.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 v1-20020aa799c1000000b006ea6d321d3bsi11694280pfi.89.2024.04.17.09.39.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 09:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148921-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; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-148921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148921-linux.lists.archive=gmail.com@vger.kernel.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 BA5D92846A8 for ; Wed, 17 Apr 2024 16:39:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E42F9171089; Wed, 17 Apr 2024 16:38:54 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 4780517107D; Wed, 17 Apr 2024 16:38:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713371934; cv=none; b=hqlaWuKve20SdblGrboivwrRCjy9qKU3dxgqoKXKUCub/7QGV8+aFbHQOjl6RV4qjDYslHWkBYsn2P08p2Z/10ORPOlPugHlHCv8FoM55odFeGtcviPEY2VfZqXceNUZKdFcjZO5H2xqllO/ufVVyLroRUppKarIoiso5fxZfF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713371934; c=relaxed/simple; bh=pWWsGIa+qqlCPys+lIXlj1pGncTOA9qcCb+9ZHTfLLs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=As0vSaBZAMjMyIDH7HEYRS5Kuo/2nOB+FQ6Ty1MzZTBeNyRTE6hW/x2UDsGJ/GD9fnVJi1AtEPy8HX1MbMBs3uovz4f1Mk8R2agXJdeoaz8au16SsYepaU8hjQdrFNkFJ1hF2KuYAlnbZFvGqHS0Zt6vmpKKEDPBcd1ObzLDfcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 33FB268CFE; Wed, 17 Apr 2024 18:38:48 +0200 (CEST) Date: Wed, 17 Apr 2024 18:38:48 +0200 From: Christoph Hellwig To: Lennart Poettering Cc: Christoph Hellwig , Keith Busch , Linux regressions mailing list , linux-block@vger.kernel.org, LKML , Jens Axboe Subject: Re: API break, sysfs "capability" file Message-ID: <20240417163848.GA8345@lst.de> References: <20240409141531.GB21514@lst.de> <20240417151350.GB2167@lst.de> <20240417155913.GA6447@lst.de> <20240417162257.GA8098@lst.de> 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=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Apr 17, 2024 at 06:26:57PM +0200, Lennart Poettering wrote: > Hmm, so you want to generically allow toggling the flag from > userspace? I mean that'd be fine with me, but it would feel a bit > weird if you let's say have a partition block device, where you'd > toggle this, and then you have two levels of part scanning, and then > you toggle it on one of the part block devices there and so on, and so > on. Could that work at all with the major/minor allocation stuff? Oh, no - I do not want to allow toggling it on the device for partitions. That would always fail. > But let's say you add such a user-controlled thing, if you'd add that > I figure you really also need a way to query the current state, right? > which is basically what I originally was looking for... Yes.