Skip to content

Flex File support

Tom Haynes linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12According to RFC7863, this is not an arraynfs4.1/xdrdef/nfs4.x+1 -10 replies
2/12Close the files opened in the OPEN testsnfs4.1/server41tests/st_open.py nfs4.1/server41tests/st_open=+2 -00 replies
3/12Some more file closes to cleanup state on the servernfs4.1/server41te= nfs4.1/server41tests/st_current_stateid.py nfs4.1/server41tests/st_deb= +1 more+3 -10 replies
4/12Get rid of the client records as well as the session recordsnfs4.1/nfs4client.py nfs4.1/server41tests/env= nfs4.1/server41tests/environment.py +1 more+2 -00 replies
5/12Really, really close those open temp files to remove state on the servernfs4.1/server41t= nfs4.1/server41te= nfs4.1/server41tests/st_= +7 more+3 -00 replies
6/12Add xdr for Flex Files Layout Typenfs4.1/xdrdef/nfs4.x+2 -10 replies
7/12Simple tests of the flex file layout typenfs4.1/server41tests/__init= nfs4.1/server41tests/__init__.py nfs4.1/server41tests/st_flex.py +1 more+33 -00 replies
8/12Add a check to see if NFS4ERR_OLD_STATEID is issued on concurrent layoutgetsnfs4.1/server41tests/st_flex.py nfs4.1/server41tests/st_flex=+0 -00 replies
9/12Check that the flex file access uid/gid are correct for the different iomodesnfs4.1/server41tests/st_flex.py nfs4.1/server41tests/st_flex=+25 -00 replies
10/12FFLS1: Simulate LAYOUTSTATS for 20 small file creationsnfs4.1/server41tests/st_flex.py nfs4.1/server41tests/st_flex=+1 -10 replies
11/12Factor out checking seqid for flex file layoutsnfs4.1/server41tests/st_flex.py nfs4.1/server41tests/st_flex=+0 -00 replies
12/12Add layoutstats tests for flex filesnfs4.1/server41tests/st_flex.py nfs4.1/server41tests/st_flex=+0 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH pynfs 00/12] Flex File support

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

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

--=20
2.3.6