]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd4: stop using nfserr_resource for transitory errors
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 10 Aug 2011 23:07:33 +0000 (19:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:14 +0000 (09:43 -0800)
commitab10f211c7bbb1e5637eb4b31eae6447ff3ddcee
tree2c53270057631f1d7d696bb8218fb888a5d28241
parentb44ecd56e9bf4d4b09c8639b7d13d2a931f0d0a5
nfsd4: stop using nfserr_resource for transitory errors

commit 3e77246393c0a433247631a1f0e9ec98d3d78a1c upstream.

The server is returning nfserr_resource for both permanent errors and
for errors (like allocation failures) that might be resolved by retrying
later.  Save nfserr_resource for the former and use delay/jukebox for
the latter.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c