Skip to contentSkip to conversation

NFSv4.x: Delegation return causes infinite loop and hung

PATCH In review Steve Dickson 1 participant 2 messages Dec 3, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

cover 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
#2 lore raw

oops.. wrong mailing list... please ignore...

/me need more coffee!!! ;-)

steved.

Quoted 46 lines · Steve Dickson

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(-)