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 528DE1487ED; Wed, 17 Apr 2024 16:23:02 +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=1713370983; cv=none; b=a+IB9ezKbBBYIsLAQ9M4zuhFaLlAY0MGjO7QdvFJMXAdRRHIMK+vZG/ZlsG3YPy/1j7s0yYU7ZRm67LQ5+tBjLwBiKMWlHvQQNK4xVX9B6uOpjfGvgUhYoa12Gm1516dlY6no/Ex6ZtNHhRx7gaA0KFD41mBq6fw/mCcCjBKcfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713370983; c=relaxed/simple; bh=pNpAR6fUyvIyqKi57y6ZYwGyUeQlHqA/Ixs/InAdn10=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a7ildxWrvJfTlz0MsJIhLbrvmaxI5fE0/TryQ9vsrJoGmASJoww5JPQW1A8dt8thMNn8PfstzYA+QHhgwWeoymP7IKIP50rLJvnOuzsAAigaBFFe/5XdBvYyWsBX4KH/0CKxoqzLtP4O9hBIzgR7aHbo7h9TpWqVfPm3cyQs+Ww= 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 513CD227A88; Wed, 17 Apr 2024 18:22:57 +0200 (CEST) Date: Wed, 17 Apr 2024 18:22:57 +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: <20240417162257.GA8098@lst.de> References: <20240409141531.GB21514@lst.de> <20240417151350.GB2167@lst.de> <20240417155913.GA6447@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:10:21PM +0200, Lennart Poettering wrote: > Well, there are plenty of other block devices with part scanning off, > such as DM, including dm-crypt, dm-integrity and so on. And that's > certainly stuff we want to cover for this. But there is no good reason to prohibit scanning for them. We can't scan by default as that would probably break a few expectations in userspace, but we can trivially allow manual scanning.