From: J. Bruce Fields Date: Mon, 20 Sep 2010 02:55:06 +0000 (-0400) Subject: nfsd4: fix hang on fast-booting nfs servers X-Git-Tag: v2.6.37-rc1~113^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06497524589f2a7717da33969d541674e0a27da6;p=pandora-kernel.git nfsd4: fix hang on fast-booting nfs servers The last_close field of a cache_detail is initialized to zero, so the condition detail->last_close < seconds_since_boot() - 30 may be false even for a cache that was never opened. However, we want to immediately fail upcalls to caches that were never opened: in the case of the auth_unix_gid cache, especially, which may never be opened by mountd (if the --manage-gids option is not set), we want to fail the upcall immediately. Otherwise client requests will be dropped unnecessarily on reboot. Also document these conditions. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed