Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2268640rbb; Tue, 27 Feb 2024 17:06:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVhSKkY0DvnT0/DfupQpziVLVw2EqrfB8z3oX232rUquzD/2riUhGVQvV1lEwJv3yv32BFgBFLEgxYeqOcWKs67PLsqSos8tvwQjf8onQ== X-Google-Smtp-Source: AGHT+IHCSE4sndCh2QwyP761VkioQvMHgSNpVrJ5RcNmEelf1t3U+if3Mv1dVa/WGyoK1I4oZoeQ X-Received: by 2002:a9d:7406:0:b0:6e4:4ae0:b01a with SMTP id n6-20020a9d7406000000b006e44ae0b01amr12458606otk.19.1709082387294; Tue, 27 Feb 2024 17:06:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709082387; cv=pass; d=google.com; s=arc-20160816; b=uy/GP8XXWO73x93YWSEoNK46pwIDE7zDT4jbmXyenhoEKNH324jallx5QRE7MGrqPT Sx4m1pleKHHbV1Ots5RCuTGiotNuHuCX9bN5EuEj6CQ14Mn1Q1+OGo1yv+183SX+fhMK FSwv4LLX3i/mstRsJEGRLyZex4oxvXuRmkaTcmU3lTGD0sw4BJDGmIwvtwxNEOKUQQcy DhFondjYCqvaM0gNNIWX0N42RRsUxiunQHPq0gdVqCdzMptn2wcn1m4jEniSDHlrbZ07 YXjNHgkb5/izGVuIwsYVbKZpE465JObGMvUuvENPbooM4WPoR/vegzCNPlK2LxPuSG7b KDuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=DhG2DGa6pDHH1VG928nucKPhUiyDvmB5uJFD8WxCLAk=; fh=jNn/CyIaA3TxVL5W6UqkX8RKmy4zN6maiYDksKQS9t4=; b=SDJCjseno3+FPXLAkp6yRtNEZSvSBWiQ9yGTrX4BLv33bxS017M1p2ZHgfgLeT/+v0 8LjgdoxSjV7kWbSba1cJ4/wHX0ts3XzbSd3KQu4ObK4hwqXvdigRxcXYtaBug+mWxrBi FDrpmzf1mugE+rJm+kvD+hImSQWqxY7jq/hYV4uI67wdsfFL73LAl5dirpfVySyktaQG Bv4Ku9JH0WQQ+ezEX4EagdM7C1MTJkGFyGrADlBK+j1v2XjNKk4zBSLO2EZtUmhX8CvJ jFmpAt8Y4ltbVLi6KdBPtTkRMGM6iY07ShYueKZzRN/bqAsvmDrGZtRxIkZoWwsIZ6a/ vxeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eMY6CVTD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84301-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84301-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z17-20020a63c051000000b005dc431481absi6325810pgi.672.2024.02.27.17.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 17:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84301-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eMY6CVTD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-84301-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84301-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D80AE2830F3 for ; Wed, 28 Feb 2024 01:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B962F20EE; Wed, 28 Feb 2024 01:06:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eMY6CVTD" Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AD0FEBF; Wed, 28 Feb 2024 01:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709082374; cv=none; b=tuRXd5m6FGv5Vbo2KuDD4Qpy0qMTUe+aBqtfA90+4nT0XSAYuknQ5Lcs+SPAnG8LEZ0hoXD82pfUU0NLrY7AFhEz02ArJ4OvMPka9cxpsIoZjzbvpu1Tm/HC6K/kecUoK5GeKfhbtSTJhjZrqLLlOreRpU3ZkpgZ9jmDA80h6sA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709082374; c=relaxed/simple; bh=Sm75gcCv9xKtIq0Ia+ywMl1YZw2dek62rJr+oQKTC1g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cjU7IsNrefAwEcKZu4AKTe6gYJrnZ0ACGQd62WGCGsU9yHXfmN7lzcMZ6HrcheDdZxS10bOJ9oQm52ZWwR41HyxCKHTwuhe+QIXzACDuwb5gKlJrjo4kyUGTGATmsIhpF52vIZX/Ndu2OhV/anyRBjMOKYKKAlP5f3Mllqo54oA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=groves.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eMY6CVTD; arc=none smtp.client-ip=209.85.210.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=groves.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f45.google.com with SMTP id 46e09a7af769-6e49872f576so1656005a34.1; Tue, 27 Feb 2024 17:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709082372; x=1709687172; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=DhG2DGa6pDHH1VG928nucKPhUiyDvmB5uJFD8WxCLAk=; b=eMY6CVTD1mZfy03rOZkJ4ki/QIeX53Mx2oiVe2EPjFaYG+lPUv/D05iyiotwDXcLxx pfSoxsDvJ6Vz6gWEfEj0nlD4hKz/78j6xWas7xXV0t5qOnb34AahB49xjZslFbS7ev3f EuWPAK7Ah4wohBdaYAO1s1PmIuoyH69zYYoWcMXgcOIvRXuFsReyHSDFNpZ5Xg6W7lQG WdpJiBv2G+ySuQSQUNWljKnI2M55f9HKo8e2nLiO2qxxNLrd5ujcFOrRe4Hko4B44GBI gYcKlp9UO/sr7nKIY3cTjNvPw+RzCX5H5NFLdMTnUpHjdjgUH8IFFRCeYgDgDpwABFKb uX0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709082372; x=1709687172; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DhG2DGa6pDHH1VG928nucKPhUiyDvmB5uJFD8WxCLAk=; b=hpmeQp1E3u3ObK7fli9lVTrrf++q1OocXyMRjwOB2IQ4P5mjUCccoV0+FECIKsMfXZ dC3MUxPtZ9rNgk2HKlkRfwX2x2vhgkP0CfdIHQuI078TZkVafALz7TeL6fecPXydTUwu qXiUAumrqoaT5Md2Ap1kW9Z0zNFQkwXYfdH9ZGjCHPr1EPypbC78+yQbxH8EklbHzmd4 Itpo1CBf2P0Q53fMimFgLppwUG7TMIgrJYsP/SXYKlvHwy+wYC3tmTMeKZPSmCnS5bDI RzEffwSVuOQ/eFMnbYQdNucGuLxWQqmi2xe+q/kgAXhzAzI9MQ1JlfkauPV4vVcHRZsM CbEw== X-Forwarded-Encrypted: i=1; AJvYcCXHmMS+0ZFqhOoxRUkh1NRHhQqc0xVp5vJLuBBH1w1u4dy0Thunx9cnCIWJfcoRRDhpjJFz5yIhxNeRJxLiAm46Wc+U0FCZjoSKupS+inKuREo9NSwKE0TBVQ/voqEsaKdXaA+739Wz8s1wUp57xiHbZ32ECXmflxmyaUHS2taDBcYVH8nZXyPm+E1DVg6eGOjy+S6FSGRnyqr2BpLY7OKKzg== X-Gm-Message-State: AOJu0Ywj/p8Yq0KjGKESJdBygDWKMxL2dw1X/DJuji3b99/UTiBNGLzn hjf+N74+y17B/YRR4E9GJSMe3F7FlcHKIvcO/qKGzM+X5297HTLn X-Received: by 2002:a9d:6a9a:0:b0:6e4:8d2d:64e5 with SMTP id l26-20020a9d6a9a000000b006e48d2d64e5mr11096665otq.13.1709082372064; Tue, 27 Feb 2024 17:06:12 -0800 (PST) Received: from Borg-9.local (070-114-203-196.res.spectrum.com. [70.114.203.196]) by smtp.gmail.com with ESMTPSA id p4-20020a056830338400b006e2d8b5d9e5sm1713834ott.21.2024.02.27.17.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 17:06:11 -0800 (PST) Sender: John Groves Date: Tue, 27 Feb 2024 19:06:09 -0600 From: John Groves To: Jonathan Cameron Cc: John Groves , Jonathan Corbet , Dan Williams , Vishal Verma , Dave Jiang , Alexander Viro , Christian Brauner , Jan Kara , Matthew Wilcox , linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, john@jagalactic.com, Dave Chinner , Christoph Hellwig , dave.hansen@linux.intel.com, gregory.price@memverge.com Subject: Re: [RFC PATCH 08/20] famfs: Add famfs_internal.h Message-ID: References: <13556dbbd8d0f51bc31e3bdec796283fe85c6baf.1708709155.git.john@groves.net> <20240226124818.0000251d@Huawei.com> <20240227102846.00003eef@Huawei.com> 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: <20240227102846.00003eef@Huawei.com> On 24/02/27 10:28AM, Jonathan Cameron wrote: > 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 I'm through at least the first stage of grief on this. By the time we're through this I'll be able to reconstitute the whole bloody thing from memory, backwards :D John