linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Weston Andros Adamson <dros@primarydata.com>
To: bfields@fieldses.org
Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson <dros@primarydata.com>
Subject: [PATCH pynfs 00/17] prep for flex file layout server
Date: Wed,  4 Jun 2014 17:01:48 -0400	[thread overview]
Message-ID: <1401915726-29092-1-git-send-email-dros@primarydata.com> (raw)

These patches are in preparation for the pynfs implementation of a flex
file layout server.

I already have patches for a working flex file server, but I figure those
should wait until the spec is complete ;)

I pushed these patches to my linux-nfs.org tree on branch 'ff_prep':

  git://git.linux-nfs.org/projects/dros/pynfs.git

The prep includes:

 - patches that enable pynfs mds using real v4.1 DSes (on the backend,
   not usable from clients as there is no stateid sharing between mds and ds)

 - fix several bugs in pnfs path

 - move .x files to subdir 'xdrdef' - the nfs4.1 directory was getting crowded
   and we're going to add several more .x files along with all of the
   autogenerated files.  Note this change touches server tests too.

 - clean up the nfs4server's output - no longer print out EVERY part of EVERY
   operation which was very efficient at hiding tracebacks and made pynfs
   even slower. Old functionality is now switched on with -v flag. Also
   added an in-between mode "-s" that prints a summary of whats going on.

 - support for NFSv3 backend communication - this is not actually used yet,
   but can be tested with file layout by always returning
   NFS4ERR_LAYOUTUNAVAILABLE in layoutget and using DataServer3 class instead
   of DataServer41

Weston Andros Adamson (17):
  4.1 client: reclaim_complete after create_session
  4.1 server: service RECLAIM_COMPLETE operations
  dataserver: only catch connection error
  4.1 server: avoid traceback in DS disconnect()
  move .x files to subdir 'xdrdef'
  4.1 client: remove unused imports
  4.1 server: add -v flag & silence random output
  4.1 server: add -s option to print summary of ops
  dataserver: make generic interface to ops
  dataserver: don't import * from nfs4 specific mods
  4.1 server: move nfs4_ops.py to nfs_ops.py
  add mntv3, portmapv2 and nfsv3 .x files
  dataserver: separate generic and 4.1 code
  4.1 server: add support for NFSv3 data servers
  4.1 server: get rid of old op_getdeviceinfo
  rpc: on socket error, close and mark pipe inactive
  nfs3clnt: reconnect when sending on inactive pipe

 nfs4.1/block.py                             |    8 +-
 nfs4.1/client41tests/environment.py         |    4 +-
 nfs4.1/config.py                            |    8 +-
 nfs4.1/dataserver.py                        |  306 ++-
 nfs4.1/fs.py                                |   38 +-
 nfs4.1/nfs3client.py                        |  185 ++
 nfs4.1/nfs4.x                               | 3290 ---------------------------
 nfs4.1/nfs4.x.diff                          |   48 -
 nfs4.1/nfs4_ops.py                          |   61 -
 nfs4.1/nfs4client.py                        |   48 +-
 nfs4.1/nfs4commoncode.py                    |   10 +-
 nfs4.1/nfs4lib.py                           |   62 +-
 nfs4.1/nfs4server.py                        |  166 +-
 nfs4.1/nfs4state.py                         |   15 +-
 nfs4.1/nfs_ops.py                           |   89 +
 nfs4.1/pnfs_block.x                         |  149 --
 nfs4.1/sctrl.x                              |  145 --
 nfs4.1/server41tests/environment.py         |    4 +-
 nfs4.1/server41tests/st_block.py            |    4 +-
 nfs4.1/server41tests/st_compound.py         |    4 +-
 nfs4.1/server41tests/st_create_session.py   |    4 +-
 nfs4.1/server41tests/st_current_stateid.py  |    8 +-
 nfs4.1/server41tests/st_debug.py            |    4 +-
 nfs4.1/server41tests/st_delegation.py       |    4 +-
 nfs4.1/server41tests/st_destroy_clientid.py |    2 +-
 nfs4.1/server41tests/st_destroy_session.py  |    4 +-
 nfs4.1/server41tests/st_exchange_id.py      |    4 +-
 nfs4.1/server41tests/st_getdevicelist.py    |    4 +-
 nfs4.1/server41tests/st_lookup.py           |    2 +-
 nfs4.1/server41tests/st_lookupp.py          |    2 +-
 nfs4.1/server41tests/st_open.py             |    8 +-
 nfs4.1/server41tests/st_putfh.py            |    2 +-
 nfs4.1/server41tests/st_reboot.py           |    4 +-
 nfs4.1/server41tests/st_reclaim_complete.py |    2 +-
 nfs4.1/server41tests/st_rename.py           |    4 +-
 nfs4.1/server41tests/st_secinfo.py          |    4 +-
 nfs4.1/server41tests/st_secinfo_no_name.py  |    4 +-
 nfs4.1/server41tests/st_sequence.py         |    4 +-
 nfs4.1/server41tests/st_trunking.py         |    4 +-
 nfs4.1/server41tests/st_verify.py           |    2 +-
 nfs4.1/server_exports.py                    |    7 +-
 nfs4.1/setup.py                             |   33 +-
 nfs4.1/testclient.py                        |    2 +-
 nfs4.1/testserver.py                        |    2 +-
 nfs4.1/xdrdef/__init__.py                   |    0
 nfs4.1/xdrdef/mnt3.x                        |   68 +
 nfs4.1/xdrdef/nfs3.x                        |  818 +++++++
 nfs4.1/xdrdef/nfs4.x                        | 3290 +++++++++++++++++++++++++++
 nfs4.1/xdrdef/nfs4.x.diff                   |   48 +
 nfs4.1/xdrdef/pnfs_block.x                  |  149 ++
 nfs4.1/xdrdef/portmap.x                     |   51 +
 nfs4.1/xdrdef/sctrl.x                       |  145 ++
 rpc/rpc.py                                  |   26 +-
 53 files changed, 5337 insertions(+), 4022 deletions(-)
 create mode 100644 nfs4.1/nfs3client.py
 delete mode 100644 nfs4.1/nfs4.x
 delete mode 100644 nfs4.1/nfs4.x.diff
 delete mode 100644 nfs4.1/nfs4_ops.py
 create mode 100644 nfs4.1/nfs_ops.py
 delete mode 100644 nfs4.1/pnfs_block.x
 delete mode 100644 nfs4.1/sctrl.x
 create mode 100644 nfs4.1/xdrdef/__init__.py
 create mode 100644 nfs4.1/xdrdef/mnt3.x
 create mode 100644 nfs4.1/xdrdef/nfs3.x
 create mode 100644 nfs4.1/xdrdef/nfs4.x
 create mode 100644 nfs4.1/xdrdef/nfs4.x.diff
 create mode 100644 nfs4.1/xdrdef/pnfs_block.x
 create mode 100644 nfs4.1/xdrdef/portmap.x
 create mode 100644 nfs4.1/xdrdef/sctrl.x

-- 
1.8.5.2 (Apple Git-48)


             reply	other threads:[~2014-06-04 21:02 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 21:01 Weston Andros Adamson [this message]
2014-06-04 21:01 ` [PATCH pynfs 01/17] 4.1 client: reclaim_complete after create_session Weston Andros Adamson
2014-06-05  2:26   ` J. Bruce Fields
2014-06-05 12:54     ` Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 02/17] 4.1 server: service RECLAIM_COMPLETE operations Weston Andros Adamson
2014-06-05  2:29   ` J. Bruce Fields
2014-06-05 12:22     ` Trond Myklebust
2014-06-05 12:58       ` Weston Andros Adamson
2014-06-05 13:06         ` J. Bruce Fields
2014-06-05 13:18           ` Weston Andros Adamson
2014-06-05 13:34             ` Weston Andros Adamson
2014-06-05 13:41               ` J. Bruce Fields
2014-06-05 13:49                 ` Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 03/17] dataserver: only catch connection error Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 04/17] 4.1 server: avoid traceback in DS disconnect() Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 06/17] 4.1 client: remove unused imports Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 07/17] 4.1 server: add -v flag & silence random output Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 08/17] 4.1 server: add -s option to print summary of ops Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 09/17] dataserver: make generic interface to ops Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 10/17] dataserver: don't import * from nfs4 specific mods Weston Andros Adamson
2014-06-04 21:01 ` [PATCH pynfs 11/17] 4.1 server: move nfs4_ops.py to nfs_ops.py Weston Andros Adamson
2014-06-04 21:02 ` [PATCH pynfs 12/17] add mntv3, portmapv2 and nfsv3 .x files Weston Andros Adamson
2014-06-05  2:34   ` J. Bruce Fields
2014-06-04 21:02 ` [PATCH pynfs 13/17] dataserver: separate generic and 4.1 code Weston Andros Adamson
2014-06-04 21:02 ` [PATCH pynfs 14/17] 4.1 server: add support for NFSv3 data servers Weston Andros Adamson
2014-06-04 21:02 ` [PATCH pynfs 15/17] 4.1 server: get rid of old op_getdeviceinfo Weston Andros Adamson
2014-06-04 21:02 ` [PATCH pynfs 15/17] nfs41 svr: " Weston Andros Adamson
2014-06-04 21:02 ` [PATCH pynfs 16/17] rpc: on socket error, close and mark pipe inactive Weston Andros Adamson
2014-06-04 21:02 ` [PATCH pynfs 17/17] nfs3clnt: reconnect when sending on inactive pipe Weston Andros Adamson
     [not found] ` <1401915726-29092-6-git-send-email-dros@primarydata.com>
2014-06-05  2:31   ` [PATCH pynfs 05/17] move .x files to subdir 'xdrdef' J. Bruce Fields
2014-06-05 12:51     ` Weston Andros Adamson

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=1401915726-29092-1-git-send-email-dros@primarydata.com \
    --to=dros@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).