Skip to content

pynfs: add a set of tests for delegated timestamps

Jeff Layton linux-nfs 1 version New

Get series with b4
b4 am [email protected] change-id 20261118-delegts-fdac2daff6f0

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6server41tests: factor out sampling the server's clocknfs4.1/server41tests/st_delegation.py+18 -140 replies
2/6server41tests: check that delegated times survive DELEGRETURNnfs4.1/server41tests/st_delegation.py+87 -00 replies
3/6server41tests: check delegated times that predate the server's WRITEnfs4.1/server41tests/st_delegation.py+22 -40 replies
4/6server41tests: check that times seen via CB_GETATTR survive returnnfs4.1/server41tests/st_delegation.py+54 -50 replies
5/6server41tests: check CB_GETATTR times that predate the server's WRITEnfs4.1/server41tests/st_delegation.py+12 -00 replies
6/6server41tests: check delegated times after a truncate survive returnnfs4.1/server41tests/st_delegation.py+31 -00 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 0/6] pynfs: add a set of tests for delegated timestamps

We've had a running set of issues with the delegated timestamp support in knfsd that is usually surfaced by a gitr test run. That's not always deterministic though since it involves the client. This adds a set of new tests that test various corner-cases of the delegated timestamp handling in the server.

If the server doesn't support delegated timestamps, then these tests return UNSUPPORTED.

---
Jeff Layton (6):
server41tests: factor out sampling the server's clock
server41tests: check that delegated times survive DELEGRETURN
server41tests: check delegated times that predate the server's WRITE
server41tests: check that times seen via CB_GETATTR survive return
server41tests: check CB_GETATTR times that predate the server's WRITE
server41tests: check delegated times after a truncate survive return

 nfs4.1/server41tests/st_delegation.py | 229 +++++++++++++++++++++++++++++++---
 1 file changed, 215 insertions(+), 14 deletions(-)

---
base-commit: f03d0914f4fdae7735b207f1c8424274e12afa9a
change-id: 20261118-delegts-fdac2daff6f0

Best regards,

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