Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp482179pxf; Thu, 8 Apr 2021 07:07:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6fGHckmLyahzoeYylcNe7gnEAM+vO7/rY0shwdH36wRzSLfaULiAp5polmR7lNirCC3Hk X-Received: by 2002:a63:d242:: with SMTP id t2mr8131653pgi.431.1617890828057; Thu, 08 Apr 2021 07:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617890828; cv=none; d=google.com; s=arc-20160816; b=Wf6EFWe5Y7829niewcgFticmK4N2ZlY6JOa4rfULU41mHkdWIv7rqsvdsvLwMiJQr4 1kDcpeyXqZnnkFgupJjjDtXxJxGegeG36IWkUf9bWzA97DaSr/mUie/RKWhvA+ndn0Uk Kcps/n339Q3X9/uu5sFJor129hLRg7VWks0bxDk/pEOgGgZVu7qisNKbrPmC7tYkVX5B SvtQyXSic6znN+jSySNEDHIoTdY/98Z8+L4selshuBz9MPdVxUfCB5UosBVXZBVIgf+4 7mXlsA/6ITna6QCL+bC3UB6CrfpuXjfqrk0WbOTvzz0GlFNUGq05YqazfR1ZcWIzBHC7 yBOg== 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=wJTWsok/SqAEDjDYfE9ZBtK+085x6ZzfcdZ93ZJqu30=; b=APW1GVGN2oGqLf5eYPflepQ5EeAAMxggMxFcQLu1BGbyuOqIyy6dl6x/8i7KIHS4b+ rEKpcO1ggaHpg8B6WecpxSkUmREi5m5W+ElAgpqrAiXw9+bMvL/Y777w35cWhp+wzAUR NWBsNiOA3dPuzMWbEsgmkxwIEYbrh3GyKyG3v9kDTBzVL4WGwIZ13Ccmo5WZummKfVB+ KPbb7QCmWTj8bLv3fbc+kdBKU0yaOaqw/jlZjdYzuMfqsMQ3ZreJH05HIGUFAlwOjH1X DwOPmuIuP8t7b6qZGwCqRLadS67cCINWcT2T9FygAecHx40qyHXFhj79U6WSnvLOrETv m/LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b+X1sc67; 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 u4si2783539plz.364.2021.04.08.07.06.45; Thu, 08 Apr 2021 07:07:08 -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=b+X1sc67; 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 S231852AbhDHOFn (ORCPT + 99 others); Thu, 8 Apr 2021 10:05:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39298 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231886AbhDHOFg (ORCPT ); Thu, 8 Apr 2021 10:05:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617890724; 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=wJTWsok/SqAEDjDYfE9ZBtK+085x6ZzfcdZ93ZJqu30=; b=b+X1sc67LoXoy7dUsU6QI4SPKqp0uj6GohBN0wPrdK7Nii6kL6BgJkuP9QNioVKZ8KwtCs LqYPGlS0ytAV4uwxB3RLpNaXLTMIB1LzNCfe11fRA+XnYtaJZHGYwH8mhnSk5/zZnRMdS7 M/UjdDzIdX2/3/YoKiFQI30njHWQ+ss= 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-537-760Lky5pPISgGhXUdCWx1g-1; Thu, 08 Apr 2021 10:05:22 -0400 X-MC-Unique: 760Lky5pPISgGhXUdCWx1g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AB2ED107ACE4; Thu, 8 Apr 2021 14:05:20 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-119-35.rdu2.redhat.com [10.10.119.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id E042B6E401; Thu, 8 Apr 2021 14:05:12 +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 v6 06/30] netfs: Make a netfs helper module From: David Howells To: linux-fsdevel@vger.kernel.org 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, dhowells@redhat.com, Trond Myklebust , Anna Schumaker , Steve French , Dominique Martinet , 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-kernel@vger.kernel.org, linux-mm@kvack.org Date: Thu, 08 Apr 2021 15:05:12 +0100 Message-ID: <161789071202.6155.16519256513958534906.stgit@warthog.procyon.org.uk> In-Reply-To: <161789062190.6155.12711584466338493050.stgit@warthog.procyon.org.uk> References: <161789062190.6155.12711584466338493050.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.13 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 Link: https://lore.kernel.org/r/160588496284.3465195.10102643717770106661.stgit@warthog.procyon.org.uk/ # rfc Link: https://lore.kernel.org/r/161118135638.1232039.1622182202673126285.stgit@warthog.procyon.org.uk/ # rfc Link: https://lore.kernel.org/r/161161031028.2537118.1213974428943508753.stgit@warthog.procyon.org.uk/ # v2 Link: https://lore.kernel.org/r/161340391427.1303470.14884950716721956560.stgit@warthog.procyon.org.uk/ # v3 Link: https://lore.kernel.org/r/161539531569.286939.18317119181653706665.stgit@warthog.procyon.org.uk/ # v4 Link: https://lore.kernel.org/r/161653790328.2770958.6710423217716151549.stgit@warthog.procyon.org.uk/ # v5 --- 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.