Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1829318rbb; Tue, 27 Feb 2024 02:29:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfmg509zpLL5TsrEZyZBzZ2yXvCSnLWJlScZChfg0meDwSkW9DkPHuihX/5DLhE79l9wvSybBsg2+yAHtvYgAftAKiyDqjJtea/0VcWA== X-Google-Smtp-Source: AGHT+IE0TZTuV3WO4ZnkeYKXq40p16Ry9ViYax/2uLxL0wGTAHet3EZxH/KjoOvKF75+b7rPl4gb X-Received: by 2002:a05:6402:b14:b0:565:2b6:6a7 with SMTP id bm20-20020a0564020b1400b0056502b606a7mr6898658edb.34.1709029744963; Tue, 27 Feb 2024 02:29:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709029744; cv=pass; d=google.com; s=arc-20160816; b=OwscBnYvnYGumUGbnMIUDdgVEU4IrQFsdCEPCf8vTXBVOUbOosMRIY4yW344OWIMIg pWpaEGiTdc/CsalC5OXuHUIsAk+DSgkPZS5//qRBvtytsRSw6cgxLdNZ3aLSpo8hUTHM f4JI+t2iQZ/4IFMoSgEj4Q3gtc3XFQ+N+oPMb9BBvgjwGtEoef9c0upbujN62nIRVzu1 8RVYIEOADpvUiqHiT+9bHorA7ImPk+rcHLt3Hw3YbNuLNk0QbbFo616d0uhVkM7CJZEV ZeVYRo0pxqnS7EdlThUDLpOsyL76Z/B6aGQBHg+LvLsrVQZPnzFWCdU972qkpdF3mTlT y7QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=sLXLyfBBtHmFVPqgaEeHlnbhmhy6wCBKD5pA8CR4Y3M=; fh=HAqrIS13McWsOwFqgwWb2k0+Mzn92+IBN2rAAiN6hFY=; b=GwRf2YX2os9/ftJdqfhw1BI7wsU2T/G4Sid0Iwx5wE8dmTthN57T5Jc1j3bqKWPFmP lMUKMJnvvtUefAw/Xj4VsCaJSvklC5MfxVyBo87OO7GcOkFJTL53INPykgsw1DZYUnWb vH++P/LtZn92bgh7dBXG2lazK3RkLySU8EqX7TZSGCq+udMnIRiXBUFU3bWiHKKe5hqh XporSBmq5fBt6G7uAwhd9b9kxhYTPdpzqxd3I1T2NEHla9pRw4aSuy8g0jLgCFl4ZGkj Ma7uuQGuzGoHjguk4JWxZDOt8cmrLxZRqit7u9W/MRPHa9bflD9N0gRmwIkomh/EsOsv NxBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-83033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e20-20020aa7d7d4000000b0056484c0505asi595517eds.201.2024.02.27.02.29.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 02:29:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-83033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B47821F217F9 for ; Tue, 27 Feb 2024 10:29:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C6661386A0; Tue, 27 Feb 2024 10:28:54 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 C3C811384AB; Tue, 27 Feb 2024 10:28:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709029733; cv=none; b=gc8GtmfX5hV7IEomvp+vH55dTYv4o8mzc7mqS8X93jDvYMPwiKoepj4bx5YtMG5+G0sZHONNYkpub7ADXx+uffwDvTeZXCxwJMhHcwLZ5GNbCJdQ3S9cdQQ9yCmjl7bl7dwpbtTIEpHcm5OKw+U8PVxJKALQUOQGEPOWcHE8iwo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709029733; c=relaxed/simple; bh=pdNJE7PK8ndIE4EgOvi6kl0PkvFWesis5Ni5/jxOLfI=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BFGr1Z5nVPS2f9k13pF6jl0F5vUyuv4dS8g/iMXHob6i8Vewo35Mw3QB9AAn5vKD2NfSYHcF/aBWIvXoFq4qTdd0/0qtY8j22PVCcnuLC/lP0I1rF0+H6rtLfOgXi16uxig8LbIovwnOBXlzcmHOUXF8TNe5idJHVDrvdryi0dA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4TkYWG0Dsrz6K5Wr; Tue, 27 Feb 2024 18:24:26 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 676EE14011D; Tue, 27 Feb 2024 18:28:47 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 27 Feb 2024 10:28:46 +0000 Date: Tue, 27 Feb 2024 10:28:46 +0000 From: Jonathan Cameron To: John Groves CC: John Groves , Jonathan Corbet , "Dan Williams" , Vishal Verma , Dave Jiang , "Alexander Viro" , Christian Brauner , "Jan Kara" , Matthew Wilcox , , , , , , , Dave Chinner , Christoph Hellwig , , Subject: Re: [RFC PATCH 08/20] famfs: Add famfs_internal.h Message-ID: <20240227102846.00003eef@Huawei.com> In-Reply-To: References: <13556dbbd8d0f51bc31e3bdec796283fe85c6baf.1708709155.git.john@groves.net> <20240226124818.0000251d@Huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) 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-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500004.china.huawei.com (7.191.163.9) To lhrpeml500005.china.huawei.com (7.191.163.240) On Mon, 26 Feb 2024 11:35:17 -0600 John Groves wrote: > On 24/02/26 12:48PM, Jonathan Cameron wrote: > > On Fri, 23 Feb 2024 11:41:52 -0600 > > John Groves wrote: > > > > > Add the famfs_internal.h include file. This contains internal data > > > structures such as the per-file metadata structure (famfs_file_meta) > > > and extent formats. > > > > > > Signed-off-by: John Groves > > Hi John, > > > > Build this up as you add the definitions in later patches. > > > > Separate header patches just make people jump back and forth when trying > > to review. Obviously more work to build this stuff up cleanly but > > it's worth doing to save review time. > > > > Ohhhhkaaaaay. I think you're right, just not looking forward to > all that rebasing. :) Patch mangling is half the fun of upstream development :) > > > Generally I'd plumb up Kconfig and Makefile a the beginning as it means > > that the set is bisectable and we can check the logic of building each stage. > > That is harder to do but tends to bring benefits in forcing clear step > > wise approach on a patch set. Feel free to ignore this one though as it > > can slow things down. > > I'm not sure that's practical. A file system needs a bunch of different > kinds of operations > - super_operations > - fs_context_operations > - inode_operations > - file_operations > - dax holder_operations, iomap_ops > - etc. > > Will think about the dependency graph of these entities, but I'm not sure > it's tractable... Sure. There's a difference though between doing something useful (or even successfully loading) and being able to build it at intermediate steps. I'm only looking for buildability. If not possible, even with a few stubs, empty ops structures etc then fair enough. Jonathan