linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@poochiereds.net>
To: bfields@fieldses.org, anna.schumaker@netapp.com, trondmy@primarydata.com
Cc: tigran.mkrtchyan@desy.de, thomas.haynes@primarydata.com,
	linux-nfs@vger.kernel.org
Subject: [PATCH v2 0/3] pnfs/nfsd: have client and server support multiple layout types
Date: Thu,  9 Jun 2016 08:21:02 -0400	[thread overview]
Message-ID: <1465474865-15285-1-git-send-email-jlayton@poochiereds.net> (raw)

v2:
- rework Tigran's patch to preserve existing selection behaviour
- simplify layout driver selection by sorting the list

This is v2 of the patchset. Most of the changes are to incorporate
Bruce's suggestions on the client code. Original cover letter follows:

Only lightly tested by mounting a server that sends both flexfiles and
block layouts. The client successfully selected the block layout in most
cases, but if I blacklist blocklayoutdriver then it selects flexfiles
instead.

I'm sending these together, but I'd expect Bruce to pick up the nfsd
patches and Trond or Anna to pick up the client-side ones.

The nfsd patch is based on top of Tom's nfsd flexfile layout patches.

Jeff Layton (3):
  nfsd: allow nfsd to advertise multiple layout types
  pnfs: track multiple layout types in fsinfo structure
  pnfs: add a new mechanism to select a layout driver according to an
    ordered list

 fs/nfs/client.c         |  2 +-
 fs/nfs/nfs4xdr.c        | 23 +++++++---------
 fs/nfs/pnfs.c           | 72 ++++++++++++++++++++++++++++++++++++++++---------
 fs/nfs/pnfs.h           |  4 +--
 fs/nfsd/export.c        |  4 +--
 fs/nfsd/export.h        |  2 +-
 fs/nfsd/nfs4layouts.c   |  6 ++---
 fs/nfsd/nfs4proc.c      |  4 +--
 fs/nfsd/nfs4xdr.c       | 30 ++++++++++-----------
 include/linux/nfs_xdr.h |  7 ++++-
 10 files changed, 101 insertions(+), 53 deletions(-)

-- 
2.5.5


             reply	other threads:[~2016-06-09 12:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 12:21 Jeff Layton [this message]
2016-06-09 12:21 ` [PATCH v2 1/3] nfsd: allow nfsd to advertise multiple layout types Jeff Layton
2016-06-09 12:21 ` [PATCH v2 2/3] pnfs: track multiple layout types in fsinfo structure Jeff Layton
2016-06-09 12:21 ` [PATCH v2 3/3] pnfs: add a new mechanism to select a layout driver according to an ordered list Jeff Layton
2016-06-13 20:05   ` J. Bruce Fields
2016-06-14  1:46     ` Jeff Layton
2016-06-15 15:18       ` 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=1465474865-15285-1-git-send-email-jlayton@poochiereds.net \
    --to=jlayton@poochiereds.net \
    --cc=anna.schumaker@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=thomas.haynes@primarydata.com \
    --cc=tigran.mkrtchyan@desy.de \
    --cc=trondmy@primarydata.com \
    /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).