[GIT PULL] Please pull NFS client bugfixes

From: Trond Myklebust
Date: Fri May 13 2011 - 16:23:56 EST


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.

Cheers,
Trond

----
fs/nfs/nfs4filelayout.c | 27 ++++++++++++++++-----------
fs/nfs/nfs4filelayout.h | 2 +-
fs/nfs/nfs4filelayoutdev.c | 34 +++++++++++++++++-----------------
fs/nfs/nfs4proc.c | 6 ++++++
fs/nfs/pnfs.c | 34 ++++++++++++++++++++--------------
fs/nfs/pnfs.h | 6 +++---
fs/nfs/read.c | 4 ++--
fs/nfs/write.c | 4 ++--
include/linux/nfs_xdr.h | 1 +
9 files changed, 68 insertions(+), 50 deletions(-)

commit a75b9df9d3bfc3cd1083974c045ae31ce5f3434f
Author: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
Date: Wed May 11 18:00:51 2011 -0400

NFSv4.1: Ensure that layoutget uses the correct gfp modes

Currently, writebacks may end up recursing back into the filesystem due to
GFP_KERNEL direct reclaims in the pnfs subsystem.

Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>

commit 2887fe45522843149ccf72e01f43813be4fb36c5
Author: Andy Adamson <andros@xxxxxxxxxx>
Date: Wed May 11 01:19:58 2011 -0400

NFSv4.1: remove pnfs_layout_hdr from pnfs_destroy_all_layouts tmp_list

Prevents an infinite loop as list was never emptied.

Signed-off-by: Andy Adamson <andros@xxxxxxxxxx>
Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>

commit a8a4ae3a899a6c0b4771cc57884800d8b76a6996
Author: Andy Adamson <andros@xxxxxxxxxx>
Date: Tue May 3 13:43:03 2011 -0400

NFSv41: Resend on NFS4ERR_RETRY_UNCACHED_REP

Free the slot and resend the RPC with new session <slot#,seq#>.

For nfs4_async_handle_error, return -EAGAIN and set the task->tk_status to 0
to restart the async rpc in the rpc_restart_call_prepare state which resets
the slot.

For nfs4_handle_exception, retrying a call that uses nfs4_call_sync will
reset the slot via nfs41_call_sync_prepare.

For open/close/lock/locku/delegreturn/layoutcommit/unlink/rename/write
cachethis is true, so these operations will not trigger an
NFS4ERR_RETRY_UNCACHED_REP.

Signed-off-by: Andy Adamson <andros@xxxxxxxxxx>
Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>


--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/