From patchwork Thu Sep 26 18:40:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benny Halevy X-Patchwork-Id: 2950161 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6CA189F288 for ; Thu, 26 Sep 2013 18:40:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 571ED20258 for ; Thu, 26 Sep 2013 18:40:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13977202DD for ; Thu, 26 Sep 2013 18:40:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418Ab3IZSkb (ORCPT ); Thu, 26 Sep 2013 14:40:31 -0400 Received: from mail-qc0-f177.google.com ([209.85.216.177]:65351 "EHLO mail-qc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753047Ab3IZSka (ORCPT ); Thu, 26 Sep 2013 14:40:30 -0400 Received: by mail-qc0-f177.google.com with SMTP id x12so1017037qcv.22 for ; Thu, 26 Sep 2013 11:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=50KqFXNMlMv2aAY9BpghebzLS/pnPWLiyqpr3QFieT0=; b=drXld9P41erQTJQyi021WTPRevajFlODA5TroIGBlxng6DVgEZ0OqNl8awBjAhxcEf JorLvntfUXnNU7spyC7LqnEBL6ooQCxotoR6ITpxHFMxyRtbTRejimHOjYTXcde5uV3H jYwbuhCgS+CEGPIXj069WjClomkMhMk5SEovev+KwSY26ftlscFbjzBPmnf3AIs9ZnJd VFR7hyaokLxccRy7xmUiiYyNXW598Rh0EmrEPFD7e9+M+5la91zR/a/67db1dkxLK05I wm1dAKIycC4sbvd3bpczg/n45156Ji9ZpNfli0+3hUc8045LKa8b8Qq7QByP4EREVgae CcvQ== X-Received: by 10.224.28.201 with SMTP id n9mr8363914qac.95.1380220829997; Thu, 26 Sep 2013 11:40:29 -0700 (PDT) Received: from bhalevy-lt.il.tonian.com.com (nat-pool-bos-u.redhat.com. [66.187.233.207]) by mx.google.com with ESMTPSA id fy7sm5130961qeb.1.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Sep 2013 11:40:29 -0700 (PDT) From: Benny Halevy To: " J. Bruce Fields" Cc: linux-nfs@vger.kernel.org Subject: [PATCH RFC v0 09/49] pnfsd: initial stub Date: Thu, 26 Sep 2013 14:40:27 -0400 Message-Id: <1380220827-13092-1-git-send-email-bhalevy@primarydata.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <52447EA0.7070004@primarydata.com> References: <52447EA0.7070004@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Benny Halevy Signed-off-by: Benny Halevy --- fs/nfsd/Makefile | 1 + fs/nfsd/nfs4pnfsd.c | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 fs/nfsd/nfs4pnfsd.c diff --git a/fs/nfsd/Makefile b/fs/nfsd/Makefile index af32ef0..5ebe5df 100644 --- a/fs/nfsd/Makefile +++ b/fs/nfsd/Makefile @@ -12,3 +12,4 @@ nfsd-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \ nfs4acl.o nfs4callback.o nfs4recover.o +nfsd-$(CONFIG_PNFSD) += nfs4pnfsd.o diff --git a/fs/nfsd/nfs4pnfsd.c b/fs/nfsd/nfs4pnfsd.c new file mode 100644 index 0000000..cb28207 --- /dev/null +++ b/fs/nfsd/nfs4pnfsd.c @@ -0,0 +1,27 @@ +/****************************************************************************** + * + * (c) 2007 Network Appliance, Inc. All Rights Reserved. + * (c) 2009 NetApp. All Rights Reserved. + * + * NetApp provides this source code under the GPL v2 License. + * The GPL v2 license is available at + * http://opensource.org/licenses/gpl-license.php. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + *****************************************************************************/ + +#include "pnfsd.h" + +#define NFSDDBG_FACILITY NFSDDBG_PNFS +