Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp196927rbb; Fri, 23 Feb 2024 18:00:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUJK7iUhNYXZXJsiD0S9pbFOrCgNo/ZUxJhldhf2uqanmyJmYCNFP8xKckOQcZVCUtSwmGoEI2BYTFZonP8KJzuJN+tgBzehwb4BLb11g== X-Google-Smtp-Source: AGHT+IFZh1M/OqGsSOdB1Grr9Jb0AAn7ny8od6gHId5bnrTnTpxsE9cNpGuJ5IhIV3LhJzdOkOpw X-Received: by 2002:a17:902:720c:b0:1d9:6e53:b8d7 with SMTP id ba12-20020a170902720c00b001d96e53b8d7mr1382127plb.28.1708740013499; Fri, 23 Feb 2024 18:00:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708740013; cv=pass; d=google.com; s=arc-20160816; b=k8aBaZXZjVo7/jW67USHqc9Tx98f634DKNHbeGNxSSJOassCSjH1DaqeABiHV2ezmK PBGBGlhUc3Zm0BHnbM48RcaCBdk8LFcOdaU8LRoT+iYnCntryfZmEH+qc6KkAZR5FZAF LMpYwe9n+4dLHT+3R7+SrH07F6l4hCei7fW6yLAlycphWe1184x93uYSpvhHgWz34NCE wlkXuCMbajacLzL9TN3J2Kh+jlRbA3XaLkIFNSBSTxO3SGFSjtIc/KdrRpS1o168FQF/ dgF+vc2x8OmBLZDdIuGhtC4T0iaQkXQadZU4u/lSm8HElF8sHgcGSkdolJlZmw9Ayie9 w0dg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=06UnnJyhnElyuP2IJrtOSRTp1BF1dFG21xSI11X6/3g=; fh=/4PJNbluUFMdOO8Nu6OIIL5UQR0g5IRWWKYr2xFGHE8=; b=PWMifHH2AuxxAfgnzWfJxXpm1TXYeYFdAyaj1fJS6VGuhfsThpri8ljCXuyPBC8NzW Q4Yh4xirZ1K7mneRrJ8k0Ro7wsUHDLVu6iQmqJupu2RkjIu/WCBRjPF+eVv7fDXXjtOQ nikoKSes1NkPC4rKlTUIW+jOLFvP2ujgt8XEZg36WlJlz2bTTOphZc4remkJ8deeNyrj 7suaLB2lRGm0wyDxnBhDgV4f18vrKeRRI/Cbgqkb+PifalkHCiYZERyr59EXDPTjTqIR YR9wj/aXFXyZNyJk71fCZzjMHPCMBtvaUGor8AhQHCBMqTqq35CHPVUisbHF50S6BBIJ lP6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=TVYB3G0c; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-79429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79429-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w16-20020a1709026f1000b001da2316af2fsi123636plk.7.2024.02.23.18.00.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 18:00:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=TVYB3G0c; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-79429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79429-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 BD93B283B96 for ; Sat, 24 Feb 2024 01:50:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C89ADDD9; Sat, 24 Feb 2024 01:50:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="TVYB3G0c" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 6DD28CA4A; Sat, 24 Feb 2024 01:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708739432; cv=none; b=uaJ/5lP+CXmcr6E7ruR2BHnIoyFoozwmx8csFEOmzY8G+bNaKkey9o2NGXnixzpLPPKHw84SOgSbKXGpjA7IiDKdLWQCIWa6JLf52n/5hjLxgjHcaSn5PYdkkrS69LsISpiWEK4w1fZZ9PLp/Ut8UOhymartqmz9NVJJD4HdDXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708739432; c=relaxed/simple; bh=xi6nVk0C04NkzR7H2GZk/dICTy1LUs3OH0IEQVV1NDc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eSTFGLQYGTjq0D6gqAUqR7yf9Niux7r7ApalwB9ERo63n8kBBNrSM2F8LUkYZ71wvNjZPRLsCELhWyw/ynTOJ6a+H8ZX6dskOGWjOEU0JRSgwf0OYylbdpXHOlxGUPKs/al9vAShYjFUrtbeZW7ObT3zI+GT1L4D/Sel+WwOMOY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=TVYB3G0c; arc=none smtp.client-ip=198.137.202.133 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=06UnnJyhnElyuP2IJrtOSRTp1BF1dFG21xSI11X6/3g=; b=TVYB3G0c87xVqJOIVHuyTu8RtT fDG2tL0IzR9zpeos133a6nAsWtGMB4xc2zcpXBEKl7OopDPtSiayNNt3Dc6wgo6x5N4AwqFfkJUDU cwKAJW3PqqcytmKt/8vjUHPnuHYjwapv0JpBW6x7ZViJOfGM3GuxGaRtWKKIM1u6VJqhNp6gc1c9N okBZ/NHOYZinVgYsOcUFmvUkArxlD6/o1aM7zdeo19BxJ1Lt0wc03VApp71yd8x8xp/R+OR39ro1r aVA+z1/Xn7tE9md4VocP5NoEciGjGg8kQa/k2stXGYmlTvlj/cXU0FWCywXf7TiXFmAJ0y7+1qCGp Lnf++ZSQ==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdhBL-0000000BpTS-26Er; Sat, 24 Feb 2024 01:50:27 +0000 Message-ID: <161f53c9-65ba-422d-b08e-2e5d88a208a2@infradead.org> Date: Fri, 23 Feb 2024 17:50:26 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 20/20] famfs: Add Kconfig and Makefile plumbing Content-Language: en-US To: John Groves , 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 Cc: john@jagalactic.com, Dave Chinner , Christoph Hellwig , dave.hansen@linux.intel.com, gregory.price@memverge.com References: <1225d42bc8756c016bb73f8a43095a384b08524a.1708709155.git.john@groves.net> From: Randy Dunlap In-Reply-To: <1225d42bc8756c016bb73f8a43095a384b08524a.1708709155.git.john@groves.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 2/23/24 09:42, John Groves wrote: > Add famfs Kconfig and Makefile, and hook into fs/Kconfig and fs/Makefile > > Signed-off-by: John Groves > --- > fs/Kconfig | 2 ++ > fs/Makefile | 1 + > fs/famfs/Kconfig | 10 ++++++++++ > fs/famfs/Makefile | 5 +++++ > 4 files changed, 18 insertions(+) > create mode 100644 fs/famfs/Kconfig > create mode 100644 fs/famfs/Makefile > > diff --git a/fs/Kconfig b/fs/Kconfig > index 89fdbefd1075..8a11625a54a2 100644 > --- a/fs/Kconfig > +++ b/fs/Kconfig > @@ -141,6 +141,8 @@ source "fs/autofs/Kconfig" > source "fs/fuse/Kconfig" > source "fs/overlayfs/Kconfig" > > +source "fs/famfs/Kconfig" > + > menu "Caches" > > source "fs/netfs/Kconfig" > diff --git a/fs/Makefile b/fs/Makefile > index c09016257f05..382c1ea4f4c3 100644 > --- a/fs/Makefile > +++ b/fs/Makefile > @@ -130,3 +130,4 @@ obj-$(CONFIG_EFIVAR_FS) += efivarfs/ > obj-$(CONFIG_EROFS_FS) += erofs/ > obj-$(CONFIG_VBOXSF_FS) += vboxsf/ > obj-$(CONFIG_ZONEFS_FS) += zonefs/ > +obj-$(CONFIG_FAMFS) += famfs/ > diff --git a/fs/famfs/Kconfig b/fs/famfs/Kconfig > new file mode 100644 > index 000000000000..e450928d8912 > --- /dev/null > +++ b/fs/famfs/Kconfig > @@ -0,0 +1,10 @@ > + > + > +config FAMFS > + tristate "famfs: shared memory file system" > + depends on DEV_DAX && FS_DAX > + help > + Support for the famfs file system. Famfs is a dax file system that > + can support scale-out shared access to fabric-attached memory > + (e.g. CXL shared memory). Famfs is not a general purpose file system; > + it is an enabler for data sets in shared memory. Please use one tab + 2 spaces to indent help text (below the "help" keyword) as documented in Documentation/process/coding-style.rst. > diff --git a/fs/famfs/Makefile b/fs/famfs/Makefile > new file mode 100644 > index 000000000000..8cac90c090a4 > --- /dev/null > +++ b/fs/famfs/Makefile > @@ -0,0 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0 > + > +obj-$(CONFIG_FAMFS) += famfs.o > + > +famfs-y := famfs_inode.o famfs_file.o -- #Randy