Date: Thu, 22 Apr 2010 23:51:01 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_var.h src/sys/fs/nfsclient nfs.h nfs_clbio.c nfs_clnfsiod.c nfs_clnode.c nfs_clrpcops.c nfs_clstate.c nfs_clvnops.c Message-ID: <201004222351.o3MNpFiW093212@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-04-22 23:51:01 UTC FreeBSD src repository Modified files: sys/fs/nfs nfs_var.h sys/fs/nfsclient nfs.h nfs_clbio.c nfs_clnfsiod.c nfs_clnode.c nfs_clrpcops.c nfs_clstate.c nfs_clvnops.c Log: SVN rev 207082 on 2010-04-22 23:51:01Z by rmacklem When the experimental NFS client is handling an NFSv4 server reboot with delegations enabled, the recovery could fail if the renew thread is trying to return a delegation, since it will not do the recovery. This patch fixes the above by having nfscl_recalldeleg() fail with the I/O operations returning EIO, so that they will be attempted later. Most of the patch consists of adding an argument to various functions to indicate the delegation recall case where this needs to be done. MFC after: 1 week Revision Changes Path 1.11 +2 -2 src/sys/fs/nfs/nfs_var.h 1.5 +4 -2 src/sys/fs/nfsclient/nfs.h 1.12 +20 -11 src/sys/fs/nfsclient/nfs_clbio.c 1.3 +4 -2 src/sys/fs/nfsclient/nfs_clnfsiod.c 1.6 +1 -1 src/sys/fs/nfsclient/nfs_clnode.c 1.8 +12 -4 src/sys/fs/nfsclient/nfs_clrpcops.c 1.14 +19 -6 src/sys/fs/nfsclient/nfs_clstate.c 1.19 +29 -8 src/sys/fs/nfsclient/nfs_clvnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004222351.o3MNpFiW093212>