From: Tom Haynes <thomas.haynes@primarydata.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: linux-nfs@vger.kernel.org
Subject: [V5 0/2] Super simple flex file server
Date: Tue, 14 Jun 2016 13:41:26 -0700 [thread overview]
Message-ID: <1465936888-103341-1-git-send-email-loghyr@primarydata.com> (raw)
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
next reply other threads:[~2016-06-14 20:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-14 20:41 Tom Haynes [this message]
2016-06-14 20:41 ` [V5 1/2] nfsd: flex file device id encoding will need the server address Tom Haynes
2016-06-14 20:41 ` [V5 2/2] nfsd: Add a super simple flex file server Tom Haynes
2016-06-15 20:22 ` [V5 0/2] Super " J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465936888-103341-1-git-send-email-loghyr@primarydata.com \
--to=thomas.haynes@primarydata.com \
--cc=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).