Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp455139pxb; Wed, 27 Jan 2021 11:52:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIu8ff9f3rxMQrT4cNlfK6p8hPY83fU6bMKOx8hv9N+LmKkqknx0OD/VpSXszdeoFpoT84 X-Received: by 2002:a50:fc97:: with SMTP id f23mr11177875edq.307.1611777011395; Wed, 27 Jan 2021 11:50:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611777011; cv=none; d=google.com; s=arc-20160816; b=w0Lttuzls9ToSVeGC3s27F5mQCv4i6cRKhoAS7TC8M8qOdeAe7LJou+l2gTVY/UE1Q KplEfXONypCExGtTgSkbGen5Bci5BfpLzt8pmwHaO1/GMiONp1YSQHPy/cstZRs/8k/h jpAL8Lh2EwhMUFw3rzMrhtPd9+V43gF+oEqur0jIsrVCV8D8PfxJUgs04g2G9Qan/ork yuLFROHhQHCpAukvOWb8ofLW1H32he1KMCkW/3MXImDUbAAuaCUvqN1BkSQbqFylDKWr HOsIJYxVDdu2u6sI5eiSuyQeG5XSF+vcy6NkvsWSqPvb6Eqp24mH+4n015BhNt8+UjJg 8aOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=slbT+XV5IE8VlhB70udS4atkkfpdMMLuQ7GIBp0RBvY=; b=c+DAlAUOPtpilE2ozPoj30KVR8lmHCSDxmwLspIIozJYrOfXsj5YeisH8D09OAjOto ER0N55pOCuZ0hpiQusBA1CFrOR99PW8I3dk0TTZMeBO0gFAvtMb0xrnDYrIiWwdvHc1k sKFrprmYvLKL6Ry0KhwxocqRGpRqWifcj5QG199j6sRb7FdzG0g40YEMUjTxV08Y+WQ6 9ydGjeohv7Gn58dQV92LxgbKVSrn5CXToAa24n4shFflGIRncUj9S71dbUI/hsDd+x7j COvSazdHyxZ6zXUoqVRNj4rW9f6rZwg6Bu0i/yt876/n8/QGFI7hSbhHGzOoTqZkoibV OOsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=C2rEE33v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y90si1614027edy.314.2021.01.27.11.49.45; Wed, 27 Jan 2021 11:50:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=C2rEE33v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234219AbhA0DNx (ORCPT + 99 others); Tue, 26 Jan 2021 22:13:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387745AbhAZTS5 (ORCPT ); Tue, 26 Jan 2021 14:18:57 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29947C061574; Tue, 26 Jan 2021 11:18:17 -0800 (PST) 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=slbT+XV5IE8VlhB70udS4atkkfpdMMLuQ7GIBp0RBvY=; b=C2rEE33vnYai734zBLsuFL9aG4 MNup863NI8PrQ3APIkLyQk9w9x0tYnR+OsyN/nXcRDk/Ix86FCEpaLgo1opMfqxM2BSnuSoPjIFzd eJ3sotklgF+5uPlKc/ZTdf+9dU/4STj+HdQ8iROmY5JKUyZCF26KElLiXOW9kc6djm+wgFyAWQljK 0woqfCt7EXqSxcGXrgPY4SQecQolxcNf1Weq22USyr04mtCabWoJ+bbMUYWfwNrUqeNjwNMQT6G68 aAnY940HpeLoNgk3l9swl8E5fIhUUybMDLE7G2a2vn7HDtyr/dV2WO9Fom/hxaK9Fyp4uHfgUyRRS a1lNZIwA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l4Tq0-006Aqj-CU; Tue, 26 Jan 2021 19:17:31 +0000 Date: Tue, 26 Jan 2021 19:17:16 +0000 From: Matthew Wilcox To: Amy Parker Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Getting a new fs in the kernel Message-ID: <20210126191716.GN308988@casper.infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 26, 2021 at 08:23:03AM -0800, Amy Parker wrote: > Kernel development newcomer here. I've begun creating a concept for a > new filesystem, and ideally once it's completed, rich, and stable I'd > try to get it into the kernel. > > What would be the process for this? I'd assume a patch sequence, but > they'd all be dependent on each other, and sending in tons of > dependent patches doesn't sound like a great idea. I've seen requests > for pulls, but since I'm new here I don't really know what to do. Hi Amy, Writing a new filesystem is fun! Everyone should do it. Releasing a filesystem is gut-churning. You're committing to a filesystem format that has to be supported for ~ever. Supporting a new filesystem is a weighty responsibility. People are depending on you to store their data reliably. And they demand boring and annoying features like xattrs, acls, support for time after 2038. We have quite a lot of actively developed filesystems for users to choose from already -- ext4, btrfs, xfs are the main three. So you're going to face a challenge persuading people to switch. Finally, each filesystem represents a (small) maintainance burden to people who need to make changes that cross all filesystems. So it'd be nice to have a good justification for why we should include that cost. Depending exactly what your concept is, it might make more sense to make it part of an existing filesystem. Or develop it separately and have an existing filesystem integrate it. Anyway, I've been at this for twenty years, so maybe I'm just grouchy about new filesystems. By all means work on it and see if it makes sense, but there's a fairly low probability that it gets merged.