linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pnfs/nfsd: have client and server support multiple layout types
@ 2016-06-07 10:38 Jeff Layton
  2016-06-07 10:38 ` [PATCH 1/3] nfsd: allow nfsd to advertise " Jeff Layton
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jeff Layton @ 2016-06-07 10:38 UTC (permalink / raw)
  To: bfields, anna.schumaker, trondmy
  Cc: tigran.mkrtchyan, thomas.haynes, linux-nfs

This is a follow-up to the RFC set that I sent a week ago.

The basic idea is to allow the client to handle lists of layout types,
and for the server to provide them when there are multiple layout types
available for a particular filesystem.

The main change since the RFC set is to change how the client-side
layout driver selection code works. I dropped the patch that I had
written for the client and picked up Tigran's instead, and added a
patch on top to change the selection order.

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.
Probably we should squash patches 2 and 3 before merging, but I left
them apart for now so you can see the change on top of what Tigran
originally proposed.

Jeff Layton (2):
  nfsd: allow nfsd to advertise multiple layout types
  pnfs: add a new mechanism to select a layout driver according to an
    ordered list

Tigran Mkrtchyan (1):
  pnfs support servers with multiple layout types

 fs/nfs/client.c         |  2 +-
 fs/nfs/nfs4xdr.c        | 23 +++++++--------
 fs/nfs/pnfs.c           | 76 ++++++++++++++++++++++++++++++++++++++++---------
 fs/nfs/pnfs.h           |  2 +-
 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 |  8 +++++-
 10 files changed, 103 insertions(+), 54 deletions(-)

-- 
2.5.5


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-08 10:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 10:38 [PATCH 0/3] pnfs/nfsd: have client and server support multiple layout types Jeff Layton
2016-06-07 10:38 ` [PATCH 1/3] nfsd: allow nfsd to advertise " Jeff Layton
2016-06-07 10:38 ` [PATCH 2/3] pnfs support servers with " Jeff Layton
2016-06-07 21:33   ` J. Bruce Fields
2016-06-08 10:34     ` Jeff Layton
2016-06-07 10:38 ` [PATCH 3/3] pnfs: add a new mechanism to select a layout driver according to an ordered list Jeff Layton
2016-06-07 21:46   ` J. Bruce Fields
2016-06-08 10:36     ` Jeff Layton

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).