Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1943266rbb; Tue, 27 Feb 2024 06:13:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWOibPuhsuq/bkE0JEIvKIwRwkKUlKCrHFyUUuvFFxZpyp1sXN846wHf3pLHoaVgsD5flpb9x6u+fhv2awYwgY5y002wMWOA6lBU7gScA== X-Google-Smtp-Source: AGHT+IFJ2mHRjaRtn4t8ARZZ4jxn6KUJsg3kfArjHthNHGypdEV8tji4Uvms/KCNjrCNdQ5VJ8Ew X-Received: by 2002:ad4:5d42:0:b0:68f:f74f:50fd with SMTP id jk2-20020ad45d42000000b0068ff74f50fdmr3630211qvb.18.1709043229834; Tue, 27 Feb 2024 06:13:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709043229; cv=pass; d=google.com; s=arc-20160816; b=JzG+fFvn0ipU84Ez0A2Der4kN3chBNIRl8Bbw8ES+J+Td7a4kfsFTw0R1rrpxi6qJL BFyJu8Prhg2bOyjfTE1H73cKLtOhC6eIZTj7AUwbwJvAfFFyEJ3iqOLKyXAHU83ISJSU cKyV4Ox2LfTWZzT/8Zop9u1KK1Ym94yWh7ABr1hHwpGnjsbeIVs5Mq0XCUPhZVByfTxX q6f1GcTeTPIKBDE4lDpGdCFfLMG+lLQJPdE4yHTwutwPsnNjCMn07FEdyVNe8lFhU8ww nYbCILzrTlyNLpfnPiOjuYmhUFfrnypp95WJsoRwzrG+F6+YRyiGOj2UH1E/RYd9Tsfj BW3Q== 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=PGb5zgEK6C2hj+4mYKhczrOkyb0sOdrGR3mLsPhWNC8=; fh=Yl/2omPNg57/A0B980HDLPi2heMAY4jXabU+J+ps0Os=; b=dJYajwWrGYodtcfpw3SE/ykOyNHB59TK1aphlX7zmCAHtx0ghSD9cnrl3lQfQajVex gCtlpk2LSJ4eQuqhtKJ082HNw167d/Jk6Z2PdZPNb7TIZUIcDmdZCmdOMGM4HcGd+cOe 77o7hf3tuuJhLMJAnCCrR/so4yewmCbX3+3S5vgXGs9sDwbc53JTg82rYPRgEEMDBIt6 rZOLvCVdFrnxTZJscC2XK1T3CYDExjpCzHtaMrCmnmS/k+9XIOCrSXhtckf/CjdUqVag PzmotCKkdjDBV0onKh9jEtI3rag5fxhHIYSGXeaBT4KyAKRoIjihMvGY8jfNQHi3z9qb HGiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PXShywRK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83380-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fv1-20020a056214240100b006900772a15esi4930837qvb.540.2024.02.27.06.13.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:13:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PXShywRK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83380-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 95F631C22F6C for ; Tue, 27 Feb 2024 14:13:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29D0213B798; Tue, 27 Feb 2024 14:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PXShywRK" Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (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 C583F14534E; Tue, 27 Feb 2024 14:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709043184; cv=none; b=RB4cUuRqur60Pc9RwaQe1v4UW8cfa9PtaQFw7B5YpRqtQ8OWOYMvUJbjTXubl1rXaMELkiRwMmfmv6zlzj5F1uB8UABiaWZISPUCXBXXLcLmdmZbwVcP8GBI5aFFqx5pBMJxuBuDwhG3pb9xHEt8B/wKLIkW5Q983kOZvs5WlaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709043184; c=relaxed/simple; bh=vdy2/jshL3R4Tx8oyk8z07nWJMHJ6K0TNsRxmG/PSc0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sGH5qUBqYYuVLwF+8IOeYXIiNVPtd4kyn7OG6NbKs3YxDQZ71falCpDsV4JcWtBuqJ+uzzd+k7GJh4jFcuSRqDTIUbleFZAE23HIp2TMoe1MQz/kwxgglao75RyhW6/Cre89GLOgGWeAIwDtjHuOvihZJLgO84FCDDpxuaoqzrU= 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=PXShywRK; arc=none smtp.client-ip=209.85.160.43 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-oa1-f43.google.com with SMTP id 586e51a60fabf-214c940145bso2426895fac.1; Tue, 27 Feb 2024 06:13:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709043181; x=1709647981; 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=PGb5zgEK6C2hj+4mYKhczrOkyb0sOdrGR3mLsPhWNC8=; b=PXShywRK049W3X5LmVSZqPmEQ5LKw/FOKJ6bjKwtye8eAoHggbrsC61K5WWMK+0ARz YizcDV+k7O4Yxig5AAJj44TuyfMqMnJFKSrObesIMObzSWwZ8TdcBwwEWRKLJjG0ZKiu LSq5rZ3qwHpEihc+/IX88V0vlyIke0pNpHQJLOUdQ5NUiMYmKGoHHRqwPx6dqSOM4qDy cU4EL38m9y4Ny3wzls+OuJtLB8Jx1bkzq6lxP7NHQB/ODGQ5MYX+6FbXGEMkzSRnYO9z EGo+7VizKiSkxsLEzbqNSf4P7E7U0JvzEiFgSjC8UNz/4VD6T5JvDNaILvh1cQ/eyIup rnUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709043181; x=1709647981; 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=PGb5zgEK6C2hj+4mYKhczrOkyb0sOdrGR3mLsPhWNC8=; b=aeufsoWK5GvPe0dkDl7M2mcs6Op/eroHvBkKHn0MjX+e/uHx0gYOK5ehlNMCxGCFBT L3h5Ii050l7DImlOpdk6CBUE4IPBjtClascaguA9BDBcrUPOvhpIsiG+vc5Yx1DEOXM8 uVMaEMW7Ry/dlhQVRT/keeQmAkT4oT8IJLFK/3TQ1/hSWAKS2Ac3Wcbe0iaxqIfBSOxn 0WJ1PpPkRsh1u5Ct/yPJCGZ8iRhopZ+k0sA/exymM4RN4XyasFxZdE7qo1z3Vj952ag4 KDR9h1ZM1l/e/szcn8WMOlKmbK5UWRSg7OhyUVpF9mANm3uMMeWDUgAgSNnrInEpwiYh H5kA== X-Forwarded-Encrypted: i=1; AJvYcCUt3yc2m2bMFkGteqoew1Bhl38+A1zLiW3APQ9Ct1MvLlq0AmOB/C+dN8V05tNePJKu9iCJq9ljxbNO9VWjWAq2ZP4QdeUdM+qD+8SMtCtv6hILZm+ZcFjdVZf2Yfh2apzsdlv9Ls3Dnedl6+gMnHLKkNWE3IvwZFYuhG4Ogkh5QGlelLOdoibt4xV3B3RkKM9W7624ETOCJXdiOF55SMmxVQ== X-Gm-Message-State: AOJu0Yw/VDFCyqm6XrgBjcpuB4S9l9u1LEp1ky+uZRQdPCO2NFv5A7uV m/ZoMV8nGwTZaxTe9aZUv3/gs9g+ZO8sdQShiA7nt0J+S2tCUg6z X-Received: by 2002:a05:6870:8291:b0:21e:b3aa:1906 with SMTP id q17-20020a056870829100b0021eb3aa1906mr9462866oae.4.1709043180684; Tue, 27 Feb 2024 06:13:00 -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 eu3-20020a0568303d0300b006e2e64d2e14sm1507666otb.75.2024.02.27.06.12.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:13:00 -0800 (PST) Sender: John Groves Date: Tue, 27 Feb 2024 08:12:57 -0600 From: John Groves To: Christian Brauner Cc: John Groves , Jonathan Corbet , Dan Williams , Vishal Verma , Dave Jiang , Alexander Viro , 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> <20240227-kiesgrube-couch-77ee2f6917c7@brauner> 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: <20240227-kiesgrube-couch-77ee2f6917c7@brauner> On 24/02/27 02:38PM, Christian Brauner wrote: > On Fri, Feb 23, 2024 at 11:41:52AM -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 > > --- > > fs/famfs/famfs_internal.h | 53 +++++++++++++++++++++++++++++++++++++++ > > Already mentioned in another reply here but adding a bunch of types such > as famfs_file_operations that aren't even defines is pretty odd. So you > should reorder this. Acknowledged, thanks. V2 will phase in only what is needed by the code in each patch. > > > 1 file changed, 53 insertions(+) > > create mode 100644 fs/famfs/famfs_internal.h > > > > diff --git a/fs/famfs/famfs_internal.h b/fs/famfs/famfs_internal.h > > new file mode 100644 > > index 000000000000..af3990d43305 > > --- /dev/null > > +++ b/fs/famfs/famfs_internal.h > > @@ -0,0 +1,53 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +/* > > + * famfs - dax file system for shared fabric-attached memory > > + * > > + * Copyright 2023-2024 Micron Technology, Inc. > > + * > > + * This file system, originally based on ramfs the dax support from xfs, > > + * is intended to allow multiple host systems to mount a common file system > > + * view of dax files that map to shared memory. > > + */ > > +#ifndef FAMFS_INTERNAL_H > > +#define FAMFS_INTERNAL_H > > + > > +#include > > +#include > > + > > +#define FAMFS_MAGIC 0x87b282ff > > That needs to go into include/uapi/linux/magic.h. Done for v2. Thank you, John