Skip to content

NFSv4.x: Delegation return causes infinite loop and hung

Steve Dickson linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter Fwd: [RHEL7.1 PATCH 0/5][BZ1166845] NFSv4.x: Delegation return causes infinite loop and hung

Hello,

Would it be possible to get these review and (hopefully) acked relatively soon? I'm trying to get them into the rhel7-fs and they need to be acked up ;-)

tia,

steved.

-------- Forwarded Message --------
Subject: [RHEL7.1 PATCH 0/5][BZ1166845] NFSv4.x: Delegation return causes infinite loop and hung
Date: Tue, 2 Dec 2014 13:21:50 -0500
From: Steve Dickson <[email protected]>
To: Red Hat Kernel List <[email protected]>
CC: Red Hat NFS Team <[email protected]>

Here is a late breaking bug that was found by the Netapp QA people

Description of problem:
When an NFS client receives an error while trying to return a delegation, it leads to infinite state recovery (and hung machine).

As usual, as soon as this hits one of our kernel, they will be more than willing to help out with testing.

bz: https://bugzilla.redhat.com/show_bug.cgi?id=1166845

Trond Myklebust (5):
NFSv4: Ensure that we remove NFSv4.0 delegations when state has
expired
NFSv4: Ensure that we call FREE_STATEID when NFSv4.x stateids are
revoked
NFS: Don't try to reclaim delegation open state if recovery failed
NFSv4: Fix races between nfs_remove_bad_delegation() and delegation
return
NFSv4.1: nfs41_clear_delegation_stateid shouldn't trust
NFS_DELEGATED_STATE

 fs/nfs/delegation.c            | 25 ++++++++++++--
 fs/nfs/delegation.h            |  1 +
 fs/nfs/filelayout/filelayout.c |  3 --
 fs/nfs/nfs4proc.c              | 76 +++++++++++++++++++++++-------------------
 4 files changed, 65 insertions(+), 40 deletions(-)
Signature · 1 line
1.8.3.1