From: Chuck Lever <chuck.lever@oracle.com>
To: Greg KH <gregkh@linuxfoundation.org>,
Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Possible fixes for 2.6.32 stable
Date: Mon, 6 Feb 2012 14:11:37 -0500 [thread overview]
Message-ID: <8FB4CAA9-65A1-498F-BA0B-96AA520EBBA2@oracle.com> (raw)
Hi-
Oracle's UEK kernel is within a few dozen commits of 2.6.32 stable. We recently discovered two critical problems with the NFS client in UEK that have upstream fixes that can be back ported. I'm notifying you as a courtesy because these problems were reproduced in 2.6.32-stable, and the fixes are simple back ports you may wish to apply.
The first issue: The 2.6.32 NFS client fails to perform NFSv4 state recovery after a server reboot if an NFS server returns NFS4ERR_NO_GRACE, and then blocks state recovery because its grace period has not expired. Because the client fails to perform state recovery, it continues to use stale NFSv4 state tokens, which causes, among other symptoms, an infinite loop with the server. The fixes for this are:
>From 2.6.33: e345e88a, 4f7cdf18, c8b7ae3d, a9ed2e25
>From 2.6.36: b0ed9dbc
These cleanly apply in that order to 2.6.32. With these commits applied, our UEK NFS clients are able to perform NFSv4 state recovery correctly when an NFS server returns NFS4ERR_NO_GRACE.
The second issue: After a RPC over TCP connection is dropped, the 2.6.32 RPC client reconnects then immediately drops a new TCP connection, in a loop. The client's NFS mount point becomes unusable. The fixes for this are:
>From 2.6.34: 5fe46e9d
>From 2.6.36: 669502ff
These apply cleanly in this order to 2.6.32. With these commits applied, our UEK NFS clients can reconnect on the first attempt to an NFS server after a TCP connection drop.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
next reply other threads:[~2012-02-06 19:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 19:11 Chuck Lever [this message]
2012-02-06 19:38 ` Possible fixes for 2.6.32 stable Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8FB4CAA9-65A1-498F-BA0B-96AA520EBBA2@oracle.com \
--to=chuck.lever@oracle.com \
--cc=Trond.Myklebust@netapp.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).