Skip to content

NFSv4.1: Fix an NFSv4.1 state renewal regression

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1NFSv4.1: Fix an NFSv4.1 state renewal regressionfs/nfs/nfs4proc.c fs/nfs/nfs4renewd.c+13 -31 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH Version 3 0/1] NFSv4.1: Fix an NFSv4.1 state renewal regression

From: Andy Adamson <[email protected]>

Version 3 responds to a review request by Trond:

The problem here isn't that we're failing to send a SEQUENCE in a situation where we're not required to do so by the spec. The problem is that we're failing to rearm renewd when we skip that SEQUENCE call.

Instead of removing them, could you rather please modify the above lines to return an error, and then have nfs4_renew_state() respond by calling nfs4_schedule_state_renewal(), instead of just skipping it as we do today. In fact, AFAICS we want to do the same when the renew call fails due to ENOMEM (but not when it returns EIO, since that signals that the nfs_client is in the process of shutting down).

Andy Adamson (1):
NFSv4.1: Fix an NFSv4.1 state renewal regression

 fs/nfs/nfs4proc.c   |  2 +-
 fs/nfs/nfs4renewd.c | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.3.1