Skip to content

Python3 patches for st_flex.py

Tom Haynes linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7CB_LAYOUTRECALL: Make string a byte arraynfs4.1/nfs4client.py+1 -10 replies
2/7st_flex: Use NFS4_MAXFILELEN in layout callsnfs4.1/server41tests/st_flex.py+25 -250 replies
3/7st_flex: Provide an empty ff_layoutreturn4 by default for LAYOUTRETURNnfs4.1/server41tests/st_flex.py+19 -70 replies
4/7st_flex: Use range instead of xrange for python3nfs4.1/server41tests/st_flex.py+1 -10 replies
5/7st_flex: Test is now redundantnfs4.1/server41tests/st_flex.py+0 -280 replies
6/7st_flex: Return the layout before closing the filenfs4.1/server41tests/st_flex.py+33 -71 reply
7/7st_flex: testFlexLayoutStatsSmall needed loving to pass python3nfs4.1/server41tests/st_flex.py+3 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [pynfs python3 0/7] Python3 patches for st_flex.py

From: Tom Haynes <[email protected]>

Hey Bruce,

This applies on top of the previous patch set.

This passes on my RHEL 8.2 client running python3 against a Hammerspace server.

Thanks,
Tom

fwiw - In some of the error paths, the system would complain that the exception StandardError was not defined.

I found this:
https://portingguide.readthedocs.io/en/latest/exceptions.html#the-removed-standarderror

Tom Haynes (7):
CB_LAYOUTRECALL: Make string a byte array
st_flex: Use NFS4_MAXFILELEN in layout calls
st_flex: Provide an empty ff_layoutreturn4 by default for LAYOUTRETURN
st_flex: Use range instead of xrange for python3
st_flex: Test is now redundant
st_flex: Return the layout before closing the file
st_flex: testFlexLayoutStatsSmall needed loving to pass python3

 nfs4.1/nfs4client.py            |   2 +-
 nfs4.1/server41tests/st_flex.py | 124 +++++++++++++++++---------------
 2 files changed, 68 insertions(+), 58 deletions(-)
Signature · 1 line
2.26.2