Received: by 10.223.185.111 with SMTP id b44csp1655767wrg; Sat, 10 Mar 2018 10:44:53 -0800 (PST) X-Google-Smtp-Source: AG47ELvA1+lK/lK471w85EIsaAO8fub11WJjQBs7P9Ich0C13y27om1qlLv2NSQqlAh+mOVjlKmy X-Received: by 10.98.63.75 with SMTP id m72mr2735239pfa.122.1520707493142; Sat, 10 Mar 2018 10:44:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520707493; cv=none; d=google.com; s=arc-20160816; b=xl2Ji+JbbYWo1auQiw4ltKuL4+8TvGsNdsvWB9G77zhjGSJ9IQw4S3QqUKxf4BSbhL tV1muk00yCpxvYUmM4UV11h5xYuSj/2HcFNLPXuNiwnOVZ5QXWFUec9HoFSZfaFrnsAK BljcvkbsQNc6uIrbNqKiMv6iVCQ1552lVK0cWNG1I/wqwEUtACTPEY/2vL43SkBG5QLk psHgRCeac5XKYuvEX6339ihkIqzGzIAqmLjgJZSs/vlD8sfKYdsdNGn5OIfjNrNMkk3u 2pmyL8+R48uSH/d3bhV2+cFIMZIx6v7jtmQlvR7Z6K/GUMmJKaR00qBbdlKJwN+LVnrZ h+Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=iH00/xQ9tfHRZEA/U67h1Rrj9xoRAtCk8BPanDk+8Ys=; b=Udne6yvMVRG2l7ypEntZ2Hd6ElQ/uKEPh8KNI2CJuWL8RkilhaZYm6BMlkzc5HlRcE knjKe+Riu1HTTyciLB1HieLnG/CeNY8xbm9veMFppJX/qqxtWSG0n1HpkvdkHhMEzksO O8dbpFM9OwpiEOcsqzZdX2oWJawIjUEU+tJKbhQq/GIOi2zGgaBwhhVGubokQX+xzZco XtuNRdT690Ho5R3tpZjzYrljDSqt4HHR1dNUN3mblbYAIfvxpaUqXmLUQdnyGVLdMo4J ZMShaUryAwo5n1fSZMnLAhZwE36qHxvPO3mmz9bl9hp3tcQAN0aauhdFpFrFxsQ2ZI6d 7+1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@eng.ucsd.edu header.s=google header.b=VQDSxOqr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si2642993pgc.401.2018.03.10.10.44.39; Sat, 10 Mar 2018 10:44:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@eng.ucsd.edu header.s=google header.b=VQDSxOqr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752152AbeCJSnr (ORCPT + 99 others); Sat, 10 Mar 2018 13:43:47 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:39514 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932244AbeCJSU1 (ORCPT ); Sat, 10 Mar 2018 13:20:27 -0500 Received: by mail-pg0-f65.google.com with SMTP id e3so4833181pga.6 for ; Sat, 10 Mar 2018 10:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eng.ucsd.edu; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iH00/xQ9tfHRZEA/U67h1Rrj9xoRAtCk8BPanDk+8Ys=; b=VQDSxOqruEanJOcf9ZOqx8gItt7IxX+38+nCAOf75XqIdxgjWc89WIxU/Dgr5nFI8e jTU7R8bDJSc69lAgIHMfDuHlUB+F0Fc1LpZRrTmDLUBsxtU5ItZFT1tiRYaK6PuOwG4A WNzE5eEnSS3eR+8h3tCzTuQzljzNu+XbkubmU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iH00/xQ9tfHRZEA/U67h1Rrj9xoRAtCk8BPanDk+8Ys=; b=lwklnn3Q0g+u85884UBEJelVYu2nhR3bq4UdkeYwR5VxMaFJcdD3G5YTUBLp1cIsLZ an2T9gW9yQQ+lDRq4y91fGz8Op41qNT+PCfXKKmaU00hwVeGYp4ae5YW3AgVPe8LtVeL GthShVFPnOiJHWoWHaDaGzmhHHIHmi1n6JXUmr5JlTBHrTMcM8bhU+ALYQV3Labdmr5R qItkBjhXSgNWelDmoIzZYyfQuODoWi736QsVv6Llne5al+kAGXZHAllua628ph4cTZc3 IFcW/g2VMsLUXH28irLDn83QAZHIHI1IP4pmNqjMUVVd5Fz2zJ8cHq5zNczNgeT5oKQd IPTg== X-Gm-Message-State: AElRT7E+kQX5/QJT5fHskjc2SqtQRrJfe86TIAPa6kBF41WT+hmoDnnH eCbdrkkEX3g05it3YwHjadFxPQ== X-Received: by 10.101.80.193 with SMTP id s1mr2217839pgp.254.1520706026514; Sat, 10 Mar 2018 10:20:26 -0800 (PST) Received: from brienza-desktop.8.8.4.4 (andxu.ucsd.edu. [132.239.17.134]) by smtp.gmail.com with ESMTPSA id h80sm9210167pfj.181.2018.03.10.10.20.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Mar 2018 10:20:25 -0800 (PST) From: Andiry Xu To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Cc: dan.j.williams@intel.com, andy.rudoff@intel.com, coughlan@redhat.com, swanson@cs.ucsd.edu, david@fromorbit.com, jack@suse.com, swhiteho@redhat.com, miklos@szeredi.hu, andiry.xu@gmail.com, Andiry Xu Subject: [RFC v2 09/83] Add Kconfig and Makefile Date: Sat, 10 Mar 2018 10:17:50 -0800 Message-Id: <1520705944-6723-10-git-send-email-jix024@eng.ucsd.edu> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520705944-6723-1-git-send-email-jix024@eng.ucsd.edu> References: <1520705944-6723-1-git-send-email-jix024@eng.ucsd.edu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + 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 -- 2.7.4