Skip to content

pynfs: a handful of fixes and a new CB_GETATTR test

Scott Mayhew linux-nfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 of 5 patches 0 repliesNew
  2. v15 patches 1 replySuperseded

Changes in v2 from the cover letter

- Reordered patches 3 & 4
- Patch 4 now fixes the erroneous check instead of removing it, fixes issues w/ the initialization of cbattrs, and calls compareTimes() to compare the mtimes
- Patch 5 now calls compareTimes() to compare the mtimes

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pynfs: ensure tests clean up after themselvesnfs4.1/server41tests/st_courtesy.py nfs4.1/server41tests/st_delegation.py nfs4.1/server41tests/st_sparse.py+58 -130 replies
2/5pynfs: fix the check for delegated attribute supportnfs4.1/server41tests/st_delegation.py+1 -40 replies
3/5pynfs: _testCbGetattr() should check the delegation that was receivednfs4.1/server41tests/st_delegation.py+4 -10 replies
4/5pynfs: fix erroneous test in DELEG24 and DELEG25nfs4.1/server41tests/st_delegation.py+13 -130 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] pynfs: a handful of fixes and a new CB_GETATTR test

Patches 1-4 are fixes/cleanups.

Patch 5 simulates an actual application issue where the application is failing because it's getting a unexpected/surprise mtime update for a file that it's tracking.

v2 changes:
- Reordered patches 3 & 4
- Patch 4 now fixes the erroneous check instead of removing it, fixes issues w/ the initialization of cbattrs, and calls compareTimes() to compare the mtimes
- Patch 5 now calls compareTimes() to compare the mtimes

Scott Mayhew (5):
pynfs: ensure tests clean up after themselves
pynfs: fix the check for delegated attribute support
pynfs: _testCbGetattr() should check the delegation that was received
pynfs: fix erroneous test in DELEG24 and DELEG25
pynfs: add delegation test for CB_GETATTR after sync WRITE

 nfs4.1/server41tests/st_courtesy.py   |   2 +
 nfs4.1/server41tests/st_delegation.py | 247 ++++++++++++++++++++++----
 nfs4.1/server41tests/st_sparse.py     |  10 +-
 3 files changed, 228 insertions(+), 31 deletions(-)
Signature · 1 line
2.53.0