From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1A65C768FC for ; Tue, 28 Jan 2025 06:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738044520; cv=none; b=TVSo/8CB7ndGT6+8lsYw1M15/0aTw7ezjPLK8kZWj3HX1zrFCxQ7WpMWeBcM4U+Wr+NyxAFmzsrQch4YuQf9nrxYLqznAzB2eHBUcCyKcmCgoMnBSron8hY3voW2NJaPB1JhtaIU6TVAcj8niMyxR48T4RrgpbrwWx5vnYhZtOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738044520; c=relaxed/simple; bh=wGqbzLb7H8hKFZmr+079GrVU6xTkQupZY6OwcIlg39k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mGOFb2wOV9A/hGV5QCAcqYPuSuk7GlXMsYt8aA1kat9i6Pyz5PcCRR4epsjhnzdhcvOLTpZqQMypstVgTjeCmnZVpJ28iPTtcW0giX+/UsalFbYOdz1dI7DNmirWzUnqpTUqs91dw34lJ1PP9yvysUPfEbUMCFxnoc60yCXRPSQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=KrJL8bKI; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KrJL8bKI" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=m7J43WE7MA4MxiFRjzLzeWSXV1Nn+G0C/UZkHBVtdmw=; b=KrJL8bKIxjzh9oEZjwgRP7vGXk vqxIwCAY3Nv5frKx++WAPmd0ZQBHdepdThovaN1YNZG/rT4shs/n8sfOVuWn9neI0u/GlqePH8DVZ o4Z0o//jd6rTpqYQd2C0/2HYYMZTy2RYuDAHq/lak/OfHZwWL+Af5zPTjY9Qw7CJGSqrz4Xw0ONyP HWp/GNLeHZJFWujkZLha2C5+8D31XWiy/NZzJ4kNqqZin3HdaKES7SKOvWKXRtsZZDoY1qeQySYJs ZeI/ak/BJPQSbGEpk6jAuGGyczUIgGOc+r3bYUHT0yImoFJhB7SNxki7wM6MvsLOJg9olKxHPRsfq fY2rGrJw==; Received: from hch by bombadil.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1tcelx-00000004BwN-1No7; Tue, 28 Jan 2025 06:08:29 +0000 Date: Mon, 27 Jan 2025 22:08:29 -0800 From: Christoph Hellwig To: David Reaver Cc: Greg Kroah-Hartman , Tejun Heo , Steven Rostedt , Christian Brauner , Al Viro , Jonathan Corbet , James Bottomley , Krister Johansen , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/5] samples/kernfs: Add a pseudo-filesystem to demonstrate kernfs usage Message-ID: References: <20250121153646.37895-1-me@davidreaver.com> Precedence: bulk X-Mailing-List: linux-fsdevel@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: <20250121153646.37895-1-me@davidreaver.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, Jan 21, 2025 at 07:36:34AM -0800, David Reaver wrote: > This patch series creates a toy pseudo-filesystem built on top of kernfs in > samples/kernfs/. Is that a good idea? kernfs and the interactions with the users of it is a pretty convoluted mess. I'd much prefer people writing their pseudo file systems to the VFS APIs over spreading kernfs usage further.