Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1155034ybg; Wed, 29 Jul 2020 07:13:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycO87+mBEq9oKXckcqX9SQCQ58y1S0nW4TmDyBLa3OKGT8aV20CRQAXe9IEcwTK8WF2Avz X-Received: by 2002:a05:6402:16c7:: with SMTP id r7mr31802965edx.288.1596032013978; Wed, 29 Jul 2020 07:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596032013; cv=none; d=google.com; s=arc-20160816; b=E8n20gunR74ms2oefWYd1frCPnKCB8F4CiVP4WAICpZWh8zNxhPcAc9KFLFYb1XIUV EPXYv9vs/YbHItinmWpupqUeSZv3SDPOdLhNAnoF3h7pykid4N9942yLxNlQ62HfsiWo BuGOo8GHrZaoN5kpYl4EFbrgl6wAIrUHHVEQ1xmHERP1HL8DZPMwOX4zfgZH5EwWflwZ XlOtg1xfvJg2RYKkE4Fqovqc3mncF8qljsFiLBG2Y9OxzQLs0CJ9a5Ly5X/Zqr+XibO3 LdopyJN/CIOPL1FQ6oetU/HRipLXPcpBaUz6PGVyIs1OgWwSJifVHLvF0habFLOH/7Gc FmrQ== 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; bh=VAXckMHHl5zNItyQP+pQvMSgmB6LlMsGCXAt9gDyUbs=; b=oNmQzrnjqXYwTmZ16OySL6LeSszDyxWFD558ytexGZHoEk4WxrEmBXm8SK3wqbnRDd wKl3ee4HRndmNHONEqKVaD9q6OZB+4h+vJgK8pWnE2rfiG6s7rWjKC0EpPqzt4zNaG4A 3rmiO6OAPQYLcQ1CDlf1YbFL3D0h+zGJ8320E4dpw/VzqaN1iddy4jqikGGfUly0QQbn PjskapF2/IKAQOB1984qaOE54vehJAzwJezFbJ/edDWscU/ErmxjncOSbqN62a1H+dCa sIQW/1NxiT4G1WVERd25Q3O/LUDeYOAUqD+HUmG/jeVaYeUI25kdYbyoucmGCfXko4on HOcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZnK7iXBs; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si1330755eds.466.2020.07.29.07.13.10; Wed, 29 Jul 2020 07:13:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZnK7iXBs; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbgG2OMz (ORCPT + 99 others); Wed, 29 Jul 2020 10:12:55 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:48844 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726709AbgG2OMz (ORCPT ); Wed, 29 Jul 2020 10:12:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596031974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=VAXckMHHl5zNItyQP+pQvMSgmB6LlMsGCXAt9gDyUbs=; b=ZnK7iXBsYuz1zeaAiWS2nOIMl7QxO5CYrWrNKtghpziuV+hyuHkMcZX51h9OwZ04eczjPa /9dZSYyMgJj+bt372JCQy9PiAmYhF83gzHu9n3xILc6J13BwdkPWhUNXJ7MI8TkfWrHh/J +qJRdpleWcr/qFz50vBtLhwwTcOsW8Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-106-xXGsAPgMP0Gt_nVpaoigBw-1; Wed, 29 Jul 2020 10:12:52 -0400 X-MC-Unique: xXGsAPgMP0Gt_nVpaoigBw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 31EDC10CE782; Wed, 29 Jul 2020 14:12:51 +0000 (UTC) Received: from dwysocha.rdu.csb (ovpn-113-23.rdu2.redhat.com [10.10.113.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AE0CC71925; Wed, 29 Jul 2020 14:12:49 +0000 (UTC) From: Dave Wysochanski To: Trond Myklebust , Anna Schumaker Cc: linux-nfs@vger.kernel.org, linux-cachefs@redhat.com Subject: [RFC PATCH v2 14/14] NFS: Allow NFS use of new fscache API in build Date: Wed, 29 Jul 2020 10:12:29 -0400 Message-Id: <1596031949-26793-15-git-send-email-dwysocha@redhat.com> In-Reply-To: <1596031949-26793-1-git-send-email-dwysocha@redhat.com> References: <1596031949-26793-1-git-send-email-dwysocha@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Add the ability for NFS to build FS-Cache against the new API. Signed-off-by: Dave Wysochanski --- fs/nfs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 8909ef506073..88e1763e02f3 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -170,7 +170,7 @@ config ROOT_NFS config NFS_FSCACHE bool "Provide NFS client caching support" - depends on NFS_FS=m && FSCACHE_OLD || NFS_FS=y && FSCACHE_OLD=y + depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y help Say Y here if you want NFS data to be cached locally on disc through the general filesystem cache manager -- 1.8.3.1