Skip to content

pynfs: add CB_GETATTR tests and tests for delegated timestamps

Jeff Layton linux-nfs 2 versions – Applied

Status from this message: Applied; apologies for the delay.

Get series with b4
b4 am [email protected] change-id 20240905-cb_getattr-8db184a5b4bf

Versions newest first

  1. v2 Latest7 patches 5 repliesApplied
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- check timestamps in WRT18, and pass_warn if they don't change
- have v4.1 tests default to minorversion 2
- have DELEG2 open the file r/w
- add support for the "delstid" draft symbols
- test delegated timestamps in new CB_GETATTR tests
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7WRT18: have it also check the ctime between writesnfs4.0/servertests/st_write.py+18 -100 replies
2/7DELEG2: fix write delegation test to open the file RWnfs4.1/server41tests/st_delegation.py+1 -10 replies
3/7pynfs: update maintainer infoCONTRIBUTING+3 -30 replies
4/7nfs4.1: add two CB_GETATTR testsnfs4.1/nfs4client.py nfs4.1/server41tests/st_delegation.py+77 -10 replies
5/7nfs4.1: default to minorversion 2nfs4.1/nfs4client.py nfs4.1/testserver.py+2 -23 replies
6/7nfs4.1: add support for the "delstid" draftnfs4.1/nfs4lib.py nfs4.1/server41tests/environment.py nfs4.1/xdrdef/nfs4.x+113 -40 replies
7/7st_deleg: test delegated timestamps in CB_GETATTRnfs4.1/server41tests/st_delegation.py+35 -70 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH pynfs v2 0/7] pynfs: add CB_GETATTR tests and tests for delegated timestamps

I sent these a month or so ago, but Calum was on PTO. Sending again, with some additions.

This patchset adds a couple of CB_GETATTR tests, and then updates them to also test delegated mtime support. There is also a patch to make the nfsv4.1 tests default to minorversion 2

---
Changes in v2:
- check timestamps in WRT18, and pass_warn if they don't change
- have v4.1 tests default to minorversion 2
- have DELEG2 open the file r/w
- add support for the "delstid" draft symbols
- test delegated timestamps in new CB_GETATTR tests
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Jeff Layton (7):
WRT18: have it also check the ctime between writes
DELEG2: fix write delegation test to open the file RW
pynfs: update maintainer info
nfs4.1: add two CB_GETATTR tests
nfs4.1: default to minorversion 2
nfs4.1: add support for the "delstid" draft
st_deleg: test delegated timestamps in CB_GETATTR

 CONTRIBUTING                          |   6 +-
 nfs4.0/servertests/st_write.py        |  28 ++++++---
 nfs4.1/nfs4client.py                  |   8 ++-
 nfs4.1/nfs4lib.py                     |   3 +
 nfs4.1/server41tests/environment.py   |   3 +
 nfs4.1/server41tests/st_delegation.py | 102 ++++++++++++++++++++++++++++++-
 nfs4.1/testserver.py                  |   2 +-
 nfs4.1/xdrdef/nfs4.x                  | 111 ++++++++++++++++++++++++++++++++--
 8 files changed, 242 insertions(+), 21 deletions(-)

---
base-commit: c75f65983498a3254e3970da86eb6954415cac01
change-id: 20240905-cb_getattr-8db184a5b4bf

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>