From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 0CAE63D542; Tue, 9 Jan 2024 19:25:51 +0000 (UTC) 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=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ofeVvIa0" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=Q7wk5dLqS1GiNGHj32FRb/6GSIg5UZpMgGfKYVefrTM=; b=ofeVvIa07Knd0LfET/gpv3mOe+ rFVyDVqpf8/nU8G3CLEiLpsvAKgdOTuOZY0CxG2MUukTXOcL1U7uny8nHbv3cEHdvpmNf34BvuduS saoQVlR5l7yZHX3hAEPY1FRa68sfnhUtHXDAyQ30wEn4ndRzoT7eTTHmeV0WQkz+v58yi9k88dMc0 vUXHKKIs0xTq5bRPiczI3+q33kRflvyxxACSoZ4AJ6LiKQXawP6YyEQuXnH/U8gSqPaI5z+TXGy8C KBwmIPohzbEHVKA/mYtOa0Us3X0k8s5mo1OIKgJN6AFnHYIrkunJ1aPKi7mOu0HPeguzsS/oO/PQp yg4CsTng==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rNHjH-00ADwl-0O; Tue, 09 Jan 2024 19:25:39 +0000 Date: Tue, 9 Jan 2024 19:25:38 +0000 From: Matthew Wilcox To: Wedson Almeida Filho Cc: Al Viro , Greg Kroah-Hartman , Kent Overstreet , Christian Brauner , Kent Overstreet , linux-fsdevel@vger.kernel.org, rust-for-linux@vger.kernel.org, Wedson Almeida Filho Subject: Re: [RFC PATCH 00/19] Rust abstractions for VFS Message-ID: References: <20231018122518.128049-1-wedsonaf@gmail.com> <20240103204131.GL1674809@ZenIV> 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: On Tue, Jan 09, 2024 at 04:13:15PM -0300, Wedson Almeida Filho wrote: > On Wed, 3 Jan 2024 at 17:41, Al Viro wrote: > > No. This "cleaner version on the Rust side" is nothing of that sort; > > this "readdir doesn't need any state that might be different for different > > file instances beyond the current position, because none of our examples > > have needed that so far" is a good example of the garbage we really do > > not need to deal with. > > What you're calling garbage is what Greg KH asked us to do, namely, > not introduce anything for which there are no users. See a couple of > quotes below. > > https://lore.kernel.org/rust-for-linux/2023081411-apache-tubeless-7bb3@gregkh/ > The best feedback is "who will use these new interfaces?" Without that, > it's really hard to review a patchset as it's difficult to see how the > bindings will be used, right? > > https://lore.kernel.org/rust-for-linux/2023071049-gigabyte-timing-0673@gregkh/ > And I'd recommend that we not take any more bindings without real users, > as there seems to be just a collection of these and it's hard to > actually review them to see how they are used... You've misunderstood Greg. He's saying (effectively) "No fs bindings without a filesystem to use them". And Al, myself and others are saying "Your filesystem interfaces are wrong because they're not usable for real filesystems". And you're saying "But I'm not allowed to change them". And that's not true. Change them to be laid out how a real filesystem would need them to be. Or argue that your current interfaces are the right ones (they aren't).