From patchwork Wed May 25 05:09:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 9134733 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 39CC860221 for ; Wed, 25 May 2016 05:09:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 304B227811 for ; Wed, 25 May 2016 05:09:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2531A28110; Wed, 25 May 2016 05:09:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A9622810D for ; Wed, 25 May 2016 05:09:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750724AbcEYFJv (ORCPT ); Wed, 25 May 2016 01:09:51 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:36290 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750840AbcEYFJt (ORCPT ); Wed, 25 May 2016 01:09:49 -0400 Received: by mail-pf0-f173.google.com with SMTP id f144so1161901pfa.3 for ; Tue, 24 May 2016 22:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=primarydata-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fazIn313XUk7zms961hvrvOyWAXmASO1Vhy5oUOXIs0=; b=jsKRvhf4JRyIOi0Ve6Xc/G/feJzUVDZlzfCjlhfbICo5tvLGpahhnRQx9Fqc2JLohI YLgUP/+2+c7+HB1gly1D4pmpXvSsTq3aMweSYFbQ/xdSEhWKdXAsPCRUTzQ38D2u6+Rz NGkYhA9hFFfh3Grz4vXwESqI/onYmAkBbXxHY7zGUUjtAWc3bPYx8FO8u4SrMH33uZQO cWd7YCzY79vV6UrAc4ECHh/GxSKesHOKSvzZNCZFRSqV93ZmCu9DTzltItA+PfCbGwwB K3Wbqlq/anHNNXM2L5okakbK2kzMh2w+MTdyjJZfx8HmbbVOaIKOdOgvhGxEhYFvAQpo w27A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fazIn313XUk7zms961hvrvOyWAXmASO1Vhy5oUOXIs0=; b=k3mUbO2KX5eonv1yMCv2J5QMgv+NZ0GyXXpdyK6/3vIyiU/XHsTPTDO1asDHwEdY1m /wTxulSmifALcEmND1G3wiOdi3nW6z95X0lGhSDIe0/i7wZFxokhYksHSsExJVXLeMLH sJhKy/gotltDcsWVX0I6zRe1jPUIf3LQxzacbHT9RlG8gRD7V+xbZCH+578fihvHVyc1 z9Jj3RsUQmXhbvCqUxph9TxOHh6T8ZIMByOAO45AI518lFhRdsPRCUQc1P5NC3480L/M g0fufeIL9eXUsqfHda+iZOoGuDQg7s2FsCT/DlkXK4k9qu7oWbZqBHeP9D1JV5NNS7Vi fK4w== X-Gm-Message-State: ALyK8tKnu2RrTUr9+NO6eqoV3NyKeeBgf8GGKIQp+8BihveA3/5irJXLieaEQMbg3mFH40j/ X-Received: by 10.98.82.19 with SMTP id g19mr2776450pfb.157.1464152988516; Tue, 24 May 2016 22:09:48 -0700 (PDT) Received: from jhereg.localdomain (c-50-131-226-197.hsd1.ca.comcast.net. [50.131.226.197]) by smtp.gmail.com with ESMTPSA id s8sm9035341pav.39.2016.05.24.22.09.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 May 2016 22:09:48 -0700 (PDT) From: Tom Haynes X-Google-Original-From: Tom Haynes To: "J. Bruce Fields" Cc: Linux NFS Mailing list , Christoph Hellwig Subject: [PATCH 4/4] nfsd: Provide a config option for flex file layouts Date: Tue, 24 May 2016 22:09:39 -0700 Message-Id: <1464152979-103988-5-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1464152979-103988-1-git-send-email-loghyr@primarydata.com> References: <1464152979-103988-1-git-send-email-loghyr@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tom Haynes --- fs/nfsd/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/fs/nfsd/Kconfig b/fs/nfsd/Kconfig index c9f583d..76edffb 100644 --- a/fs/nfsd/Kconfig +++ b/fs/nfsd/Kconfig @@ -111,6 +111,19 @@ config NFSD_SCSILAYOUT If unsure, say N. +config NFSD_FLEXFILELAYOUT + bool "NFSv4.1 server support for pNFS Flex File layouts" + depends on NFSD_V4 + select NFSD_PNFS + help + This option enables support for the exporting pNFS Flex File + layouts in the kernel's NFS server. The pNFS Flex File layout + enables NFS clients to directly perform I/O to NFSv3 devices + accesible to both the server and the clients. See + draft-ietf-nfsv4-flex-files for more details. + + If unsure, say N. + config NFSD_V4_SECURITY_LABEL bool "Provide Security Label support for NFSv4 server" depends on NFSD_V4 && SECURITY