Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5055349pxb; Mon, 15 Feb 2021 08:21:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVWB+zivaVLoDvDSyZWKbUF2d0UEoR/sXfgDZOEY3g1dMOFpWN3oNDbZYlm7T5w5kVUJaO X-Received: by 2002:a05:6402:149a:: with SMTP id e26mr16781284edv.254.1613406089619; Mon, 15 Feb 2021 08:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613406089; cv=none; d=google.com; s=arc-20160816; b=zrbiXEiv0EoL1j3zbp9KXR29E01dwzS8MQvTUSTSW6NnfLFuHpLXOfz7VEzmPefvu9 8KIKta3YNA1YW6gOkc3lqeLzPHbOiKmDAswPHKNbVosb1n7UU/KArm+UDu9TkWfOJXN+ xLCkn+LpUF+IAAAiWYPqudvHWA+cwWD3nobbL1/EwOKI8Gt83m18KcMbiKvHruuqvFi+ 7FShdbxGGCSJxLcdHiN40R9xQCxqhhGbm11QufUOSeuPPiRaCDjb0GW+dmhuQZsKmxtp D+qR4WjP01Tqw4N9+dUwEpoYbaw6ViMRcAd97XvzJyNcdQBOpkEYP9Gz917S/Ia5AskX Qsfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:organization:dkim-signature; bh=oBTSFhINMsM68khIK0Wz2lQs8Yep4BBTL+CrILJHwTU=; b=WHXRTRiTYVMC9kHkWQnM1kcdhhej0E2yDr6VHJQpvBLtIDFG0uKWFx5ZgWjj/9us5r KxqNEqBpSMI8BgL1IlsIGbaxN1Z3klg6kPp72JPRAR4K6xPGg4cL4K2JDTRIMaqRkJl8 WwLXbNbNhAmsIayj7ZZo6jisgJSdiWerkN8cipSrzej+flzXxkhbRwhXsOPkoS8wd1ni 665PpByT0nQv7CGISXMKkDJFzt5h7Cfne+31mZeRWRm12cYMHtwMKkIsER+RONAim8OB sXT49YwP4xL9juSmctUukn11Qx8ovB25XUPHq0Jrt+XPEAeR/PjRrqNzNhMMpXDnNP1T 3OIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eSIYMyF9; 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 hd10si12940791ejc.208.2021.02.15.08.21.06; Mon, 15 Feb 2021 08:21:29 -0800 (PST) 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=eSIYMyF9; 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 S231667AbhBOQTu (ORCPT + 99 others); Mon, 15 Feb 2021 11:19:50 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:41287 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231684AbhBOPqt (ORCPT ); Mon, 15 Feb 2021 10:46:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613403923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oBTSFhINMsM68khIK0Wz2lQs8Yep4BBTL+CrILJHwTU=; b=eSIYMyF9l5MjHC3zejUZbNIZ5HgU46zJMp1s0zAzkGCLo3hOtTSuOpxMd3hdFGEa5FNuHB I7L1bkDN1fI71rC8rPMk7HRnaxBiP60Dmicrbo+v33wSHDkGnRDFwgiJeSReOlX8YidLsW e/q3WRwlUhE55IM3wTNCYU3LrAZ5MiU= 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-386-EpmUWSaFOcu3F9GItixxoA-1; Mon, 15 Feb 2021 10:45:20 -0500 X-MC-Unique: EpmUWSaFOcu3F9GItixxoA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3D74F189DF56; Mon, 15 Feb 2021 15:45:18 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-119-68.rdu2.redhat.com [10.10.119.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id 233A15D9C0; Mon, 15 Feb 2021 15:45:14 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Subject: [PATCH 05/33] netfs: Make a netfs helper module From: David Howells To: Trond Myklebust , Anna Schumaker , Steve French , Dominique Martinet Cc: Jeff Layton , Matthew Wilcox , linux-mm@kvack.org, linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, dhowells@redhat.com, Jeff Layton , David Wysochanski , "Matthew Wilcox (Oracle)" , Alexander Viro , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 15 Feb 2021 15:45:14 +0000 Message-ID: <161340391427.1303470.14884950716721956560.stgit@warthog.procyon.org.uk> In-Reply-To: <161340385320.1303470.2392622971006879777.stgit@warthog.procyon.org.uk> References: <161340385320.1303470.2392622971006879777.stgit@warthog.procyon.org.uk> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Make a netfs helper module to manage read request segmentation, caching support and transparent huge page support on behalf of a network filesystem. Signed-off-by: David Howells Reviewed-by: Jeff Layton cc: Matthew Wilcox cc: linux-mm@kvack.org cc: linux-cachefs@redhat.com cc: linux-afs@lists.infradead.org cc: linux-nfs@vger.kernel.org cc: linux-cifs@vger.kernel.org cc: ceph-devel@vger.kernel.org cc: v9fs-developer@lists.sourceforge.net cc: linux-fsdevel@vger.kernel.org --- fs/netfs/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fs/netfs/Kconfig diff --git a/fs/netfs/Kconfig b/fs/netfs/Kconfig new file mode 100644 index 000000000000..2ebf90e6ca95 --- /dev/null +++ b/fs/netfs/Kconfig @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0-only + +config NETFS_SUPPORT + tristate "Support for network filesystem high-level I/O" + help + This option enables support for network filesystems, including + helpers for high-level buffered I/O, abstracting out read + segmentation, local caching and transparent huge page support.