From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D711F223DB0E5 for ; Sun, 11 Mar 2018 05:09:34 -0700 (PDT) Received: by mail-pg0-x241.google.com with SMTP id l131so5389009pga.2 for ; Sun, 11 Mar 2018 05:15:54 -0700 (PDT) Subject: Re: [RFC v2 09/83] Add Kconfig and Makefile References: <1520705944-6723-1-git-send-email-jix024@eng.ucsd.edu> <1520705944-6723-10-git-send-email-jix024@eng.ucsd.edu> From: Nikolay Borisov Message-ID: <53fde8ab-60df-be2e-002e-f1d7f04e933b@gmail.com> Date: Sun, 11 Mar 2018 14:15:47 +0200 MIME-Version: 1.0 In-Reply-To: <1520705944-6723-10-git-send-email-jix024@eng.ucsd.edu> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Andiry Xu , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Cc: coughlan@redhat.com, miklos@szeredi.hu, Andiry Xu , david@fromorbit.com, jack@suse.com, swanson@cs.ucsd.edu, swhiteho@redhat.com, andiry.xu@gmail.com List-ID: On 10.03.2018 20:17, Andiry Xu wrote: > From: Andiry Xu > > Signed-off-by: Andiry Xu > --- > fs/Kconfig | 2 ++ > fs/Makefile | 1 + > fs/nova/Kconfig | 15 +++++++++++++++ > fs/nova/Makefile | 7 +++++++ > 4 files changed, 25 insertions(+) > create mode 100644 fs/nova/Kconfig > create mode 100644 fs/nova/Makefile > > diff --git a/fs/Kconfig b/fs/Kconfig > index bc821a8..5e9ff3e 100644 > --- a/fs/Kconfig > +++ b/fs/Kconfig > @@ -58,6 +58,8 @@ config FS_DAX_PMD > depends on ZONE_DEVICE > depends on TRANSPARENT_HUGEPAGE > > +source "fs/nova/Kconfig" > + > # Selected by DAX drivers that do not expect filesystem DAX to support > # get_user_pages() of DAX mappings. I.e. "limited" indicates no support > # for fork() of processes with MAP_SHARED mappings or support for > diff --git a/fs/Makefile b/fs/Makefile > index add789e..65ea619 100644 > --- a/fs/Makefile > +++ b/fs/Makefile > @@ -113,6 +113,7 @@ obj-$(CONFIG_OMFS_FS) += omfs/ > obj-$(CONFIG_JFS_FS) += jfs/ > obj-$(CONFIG_XFS_FS) += xfs/ > obj-$(CONFIG_9P_FS) += 9p/ > +obj-$(CONFIG_NOVA_FS) += nova/ > obj-$(CONFIG_AFS_FS) += afs/ > obj-$(CONFIG_NILFS2_FS) += nilfs2/ > obj-$(CONFIG_BEFS_FS) += befs/ > diff --git a/fs/nova/Kconfig b/fs/nova/Kconfig > new file mode 100644 > index 0000000..c1c692e > --- /dev/null > +++ b/fs/nova/Kconfig > @@ -0,0 +1,15 @@ > +config NOVA_FS > + tristate "NOVA: log-structured file system for non-volatile memories" > + depends on FS_DAX > + select CRC32 What do you need crc32 for? Selecting libcrc32c is enough to do "the right thing" > + select LIBCRC32C > + help > + If your system has a block of fast (comparable in access speed to > + system memory) and non-volatile byte-addressable memory and you wish > + to mount a light-weight filesystem with strong consistency support > + over it, say Y here. > + > + To compile this as a module, choose M here: the module will be > + called nova. > + > + If unsure, say N. > diff --git a/fs/nova/Makefile b/fs/nova/Makefile > new file mode 100644 > index 0000000..eb19646 > --- /dev/null > +++ b/fs/nova/Makefile > @@ -0,0 +1,7 @@ > +# > +# Makefile for the linux NOVA filesystem routines. > +# > + > +obj-$(CONFIG_NOVA_FS) += nova.o > + > +nova-y := bbuild.o inode.o rebuild.o super.o > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm