From mboxrd@z Thu Jan 1 00:00:00 1970 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.