Return-Path: Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:43910 "EHLO resqmta-po-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932839AbcK1RBP (ORCPT ); Mon, 28 Nov 2016 12:01:15 -0500 Date: Mon, 28 Nov 2016 08:53:04 -0800 From: Tom Haynes To: "J. Bruce Fields" Cc: Tom Haynes , Linux NFS Mailing list Subject: Re: [PATCH pynfs 00/12] Flex File support Message-ID: <20161128165304.GA30012@psyklo.internal.excfb.com> References: <1480228001-64821-1-git-send-email-loghyr@primarydata.com> <20161128163321.GB30805@parsley.fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20161128163321.GB30805@parsley.fieldses.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mon, Nov 28, 2016 at 11:33:22AM -0500, J. Bruce Fields wrote: > 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. In testing, I delete the filesystem pretty quickly after the test run, and it complains about open files. > > 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 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html