Skip to contentSkip to conversation

Please pull a couple of extra bugfixes for the NFSv4.1 client

GIT PULL Trond Myklebust 1 participant 1 message Dec 15, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull from the "bugfixes" branch of the repository at

git pull git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git bugfixes

This will update the following files through the appended changesets.

These patches mainly fix issues with the NFSv4.1 session and state recovery code.

Cheers,
Trond

----

 fs/nfs/nfs4_fs.h             |    5 +
 fs/nfs/nfs4proc.c            |  203 ++++++++++++++++++++++++++++++++----------
 fs/nfs/nfs4state.c           |   61 ++++++++-----
 include/linux/sunrpc/sched.h |   14 +++-
 net/sunrpc/sched.c           |   15 +++
 5 files changed, 224 insertions(+), 74 deletions(-)

commit 72211dbe727f7c1451aa5adfcbd1197b090eb276

Author: Trond Myklebust <[email protected]>
Date:   Tue Dec 15 14:47:36 2009 -0500

NFSv4: Release the sequence id before restarting a CLOSE rpc call

If the CLOSE or OPEN_DOWNGRADE call triggers a state recovery, and has to be resent, then we must release the seqid. Otherwise the open recovery will wait for the close to finish, which causes a deadlock.

This is mainly a NFSv4.1 problem, although it can theoretically happen with NFSv4.0 too, in a OPEN_DOWNGRADE situation.

commit 68bf05efb7facbcf4a7b8d6b48a0800a90895511

Author: Andy Adamson <[email protected]>
Date:   Tue Dec 15 12:55:02 2009 -0500

nfs41: fix session fore channel negotiation

If the rsize or wsize is not set on the mount command, negotiate the highest supported rsize and wsize in session creation.

Fixes a bug where the client negotiated nfs41_maxwrite_overhead as ca_maxrequestsize and nfs41_maxread_overhead as ca_maxresponsesize resulting in NFS4ERR_REQ_TOO_BIG errors on writes.

commit a5523b84c40d34d2c30b45096fbb099b98e4b5a3

Author: Andy Adamson <[email protected]>
Date:   Mon Dec 14 15:46:16 2009 -0500

nfs41: do not zero seqid portion of stateid on close

Remove code left over from a previous minorversion draft. which specified zeroing seqid portions of stateid's.

commit 5601a00d671fe89f9b087513244abcd08ad67e7d

Author: Alexandros Batsakis <[email protected]>
Date:   Mon Dec 14 21:27:58 2009 -0800

nfs: run state manager in privileged mode

commit b257957e502a2c467c3c75005215a3f45ecb7f25

Author: Alexandros Batsakis <[email protected]>
Date:   Mon Dec 14 21:27:57 2009 -0800

nfs: make recovery state manager operations privileged

commit 689cf5c15baf603a8041565ff0bd0d65d1634fd7

Author: Alexandros Batsakis <[email protected]>
Date:   Mon Dec 14 21:27:56 2009 -0800

nfs: enforce FIFO ordering of operations trying to acquire slot

commit cf3b01b54880debb01ea7d471123da5887a7c2cb

Author: Alexandros Batsakis <[email protected]>
Date:   Mon Dec 14 21:27:55 2009 -0800

rpc: add a new priority in RPC task

commit 40ead580ae70bba1f66f426aeb938051e4e83900

Author: Alexandros Batsakis <[email protected]>
Date:   Mon Dec 14 21:27:54 2009 -0800

nfs: remove rpc_task argument from nfs4_find_slot

commit 48f186124220794fce85ed1439fc32f16f69d3e2

Author: Alexandros Batsakis <[email protected]>
Date:   Mon Dec 14 21:27:53 2009 -0800

rpc: add rpc_queue_empty function

commit afe6c27ccb8cc31ce8ed0bd3589ce549f523c8e7

Author: Alexandros Batsakis <[email protected]>
Date:   Wed Dec 9 01:50:14 2009 -0800

nfs: change nfs4_do_setlk params to identify recovery type

commit 0f7e720694e88bacf808b525069fb72d1c237171

Author: Alexandros Batsakis <[email protected]>
Date:   Wed Dec 9 01:50:13 2009 -0800

nfs: do not do a LOOKUP after open

commit 3bfb0fc59192f7fffae0a1caada8dc68af53997a

Author: Alexandros Batsakis <[email protected]>
Date:   Wed Dec 9 01:50:11 2009 -0800

nfs: minor cleanup of session draining