Return-Path: Received: from mail-pa0-f54.google.com ([209.85.220.54]:36655 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbcEYUoC (ORCPT ); Wed, 25 May 2016 16:44:02 -0400 Received: by mail-pa0-f54.google.com with SMTP id eu11so11919837pad.3 for ; Wed, 25 May 2016 13:44:01 -0700 (PDT) From: Tom Haynes To: "J. Bruce Fields" Cc: Linux NFS Mailing list , Christoph Hellwig Subject: [V2 0/2] Super simple flex file server Date: Wed, 25 May 2016 13:43:53 -0700 Message-Id: <1464209035-84591-1-git-send-email-loghyr@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi Bruce, The following patches make a flex file server in which the mds and the ds are the same machine. And the same inode services both metadata and data. v2: - Remove patch 2: nfsd: Can leak pnfs_block_extent on error - Consolidate 3rd and 4th patch - Fix the rsize and wsize to come out of the rqstp as per Jeff's review comments - Sort the available layout types such that scsi beats block which beats flex file - Address the points brought up by Christoph in his review Thanks, Tom Tom Haynes (2): nfsd: flex file device id encoding will need the server address nfsd: Add a super simple flex file server fs/nfsd/Kconfig | 17 ++++++ fs/nfsd/Makefile | 1 + fs/nfsd/blocklayout.c | 2 + fs/nfsd/flexfilelayout.c | 127 ++++++++++++++++++++++++++++++++++++++++++++ fs/nfsd/flexfilelayoutxdr.c | 115 +++++++++++++++++++++++++++++++++++++++ fs/nfsd/flexfilelayoutxdr.h | 49 +++++++++++++++++ fs/nfsd/nfs4layouts.c | 12 ++++- fs/nfsd/nfs4proc.c | 2 +- fs/nfsd/pnfs.h | 4 ++ 9 files changed, 327 insertions(+), 2 deletions(-) create mode 100644 fs/nfsd/flexfilelayout.c create mode 100644 fs/nfsd/flexfilelayoutxdr.c create mode 100644 fs/nfsd/flexfilelayoutxdr.h -- 1.8.3.1