Return-Path: Received: from mail-io0-f180.google.com ([209.85.223.180]:34465 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751932AbcFNUlu (ORCPT ); Tue, 14 Jun 2016 16:41:50 -0400 Received: by mail-io0-f180.google.com with SMTP id 5so5433450ioy.1 for ; Tue, 14 Jun 2016 13:41:50 -0700 (PDT) From: Tom Haynes To: "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org Subject: [V5 0/2] Super simple flex file server Date: Tue, 14 Jun 2016 13:41:26 -0700 Message-Id: <1465936888-103341-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. v5: - Fix the stripe unit size as reported by Tigran v4: - The addr len in a netaddr is INET6_ADDRSTRLEN + 8 v3: - Extra word help for selecting NFSD_FLEXFILELAYOUT - Do not allow WRITE permissions on an IOMODE_READ segment 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 These patches are also in my flex_server branch at git://git.linux-nfs.org/projects/loghyr/linux-nfs.git 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 | 133 ++++++++++++++++++++++++++++++++++++++++++++ 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, 333 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