Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752311AbdHCHuF (ORCPT ); Thu, 3 Aug 2017 03:50:05 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:37865 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751887AbdHCHuC (ORCPT ); Thu, 3 Aug 2017 03:50:02 -0400 From: Steven Swanson X-Google-Original-From: Steven Swanson Subject: [RFC 16/16] NOVA: Build infrastructure To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Cc: Steven Swanson , dan.j.williams@intel.com Date: Thu, 03 Aug 2017 00:50:00 -0700 Message-ID: <150174660010.104003.3617931744226337860.stgit@hn> In-Reply-To: <150174646416.104003.14042713459553361884.stgit@hn> References: <150174646416.104003.14042713459553361884.stgit@hn> User-Agent: StGit/0.17.1-27-g0d46-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2068 Lines: 71 Signed-off-by: Steven Swanson --- fs/Kconfig | 2 ++ fs/Makefile | 1 + fs/nova/Kconfig | 15 +++++++++++++++ fs/nova/Makefile | 9 +++++++++ 4 files changed, 27 insertions(+) create mode 100644 fs/nova/Kconfig create mode 100644 fs/nova/Makefile diff --git a/fs/Kconfig b/fs/Kconfig index b0e42b6a96b9..571714353a5f 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" + endif # BLOCK # Posix ACL utility routines diff --git a/fs/Makefile b/fs/Makefile index 7bbaca9c67b1..53f6465e0f4c 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 000000000000..c1c692edef92 --- /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 + 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 000000000000..c45e418652ca --- /dev/null +++ b/fs/nova/Makefile @@ -0,0 +1,9 @@ +# +# Makefile for the linux NOVA filesystem routines. +# + +obj-$(CONFIG_NOVA_FS) += nova.o + +nova-y := balloc.o bbuild.o checksum.o dax.o dir.o file.o gc.o inode.o ioctl.o \ + journal.o log.o mprotect.o namei.o parity.o rebuild.o snapshot.o stats.o \ + super.o symlink.o sysfs.o perf.o