linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@redhat.com>
To: Tom Haynes <loghyr@primarydata.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH pynfs 00/12] Flex File support
Date: Mon, 28 Nov 2016 11:33:22 -0500	[thread overview]
Message-ID: <20161128163321.GB30805@parsley.fieldses.org> (raw)
In-Reply-To: <1480228001-64821-1-git-send-email-loghyr@primarydata.com>

On Sat, Nov 26, 2016 at 10:26:29PM -0800, Tom Haynes wrote:
> I wanted to add client support for the flex file layout.
> 
> Note, I did not add pynfs as a flag because I didn't want to
> mess up with any existing uses of it.
> 
> The other major change here is in closing all opened
> files and destroying all clientids. With all the tests
> which run against my server, there are no longer any
> open files. There are however 11 clientids remaining.
> 
> I will track those down.
> 
> fwiw - these are in my staging branch at git://linux-nfs.org/~loghyr/pynfs.git

Thanks!  I'll try these and take a look.

How did you notice all the leftover state?  I run with a pretty short
lease time (to speed testing), so I guess the leftover state must expire
too quickly to cause me problems.

Anyway it's good to have that cleaned up.

--b.

> 
> Tom Haynes (12):
>   According to RFC7863, this is not an array
>   Close the files opened in the OPEN tests
>   Some more file closes to cleanup state on the server
>   Get rid of the client records as well as the session records
>   Really, really close those open temp files to remove state on the
>     server
>   Add xdr for Flex Files Layout Type
>   Simple tests of the flex file layout type
>   Add a check to see if NFS4ERR_OLD_STATEID is issued on concurrent
>     layoutgets
>   Check that the flex file access uid/gid are correct for the different
>     iomodes
>   FFLS1: Simulate LAYOUTSTATS for 20 small file creations
>   Factor out checking seqid for flex file layouts
>   Add layoutstats tests for flex files
> 
>  nfs4.1/nfs4client.py                        |   5 +-
>  nfs4.1/server41tests/__init__.py            |   1 +
>  nfs4.1/server41tests/environment.py         |   5 +
>  nfs4.1/server41tests/st_current_stateid.py  |  36 +-
>  nfs4.1/server41tests/st_debug.py            |  18 +-
>  nfs4.1/server41tests/st_flex.py             | 594 ++++++++++++++++++++++++++++
>  nfs4.1/server41tests/st_open.py             |  29 +-
>  nfs4.1/server41tests/st_reclaim_complete.py |   4 +
>  nfs4.1/server41tests/st_rename.py           |   4 +
>  nfs4.1/server41tests/st_secinfo.py          |  20 +-
>  nfs4.1/server41tests/st_sequence.py         |   8 +
>  nfs4.1/testmod.py                           |   1 +
>  nfs4.1/xdrdef/nfs4.x                        |  99 ++++-
>  13 files changed, 812 insertions(+), 12 deletions(-)
>  create mode 100644 nfs4.1/server41tests/st_flex.py
> 
> -- 
> 2.3.6
> 

  parent reply	other threads:[~2016-11-28 16:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-27  6:26 [PATCH pynfs 00/12] Flex File support Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 01/12] According to RFC7863, this is not an array Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 02/12] Close the files opened in the OPEN tests Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 03/12] Some more file closes to cleanup state on the server Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 04/12] Get rid of the client records as well as the session records Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 05/12] Really, really close those open temp files to remove state on the server Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 06/12] Add xdr for Flex Files Layout Type Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 07/12] Simple tests of the flex file layout type Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 08/12] Add a check to see if NFS4ERR_OLD_STATEID is issued on concurrent layoutgets Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 09/12] Check that the flex file access uid/gid are correct for the different iomodes Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 10/12] FFLS1: Simulate LAYOUTSTATS for 20 small file creations Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 11/12] Factor out checking seqid for flex file layouts Tom Haynes
2016-11-27  6:26 ` [PATCH pynfs 12/12] Add layoutstats tests for flex files Tom Haynes
2016-11-28 17:22   ` J. Bruce Fields
2016-11-28 17:52     ` Tom Haynes
2016-11-28 16:33 ` J. Bruce Fields [this message]
2016-11-28 16:53   ` [PATCH pynfs 00/12] Flex File support Tom Haynes
2016-11-28 21:47   ` J. Bruce Fields
2016-11-28 23:38     ` Tom Haynes
2016-11-29  1:55       ` J. Bruce Fields
2016-11-29 23:44   ` Frank Filz
2016-11-30 14:24     ` J. Bruce Fields
2016-11-30 16:56       ` Frank Filz

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=20161128163321.GB30805@parsley.fieldses.org \
    --to=bfields@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=loghyr@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).