summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/putenv.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-07-03 18:30:55 +0000
committerjhb <jhb@FreeBSD.org>2007-07-03 18:30:55 +0000
commit788b235895ff7154d4548cecaa697384662eeaaf (patch)
tree8869bd5d3dd765504610ed7c731db937ff7a746b /lib/libc/stdlib/putenv.c
parentc88cac4c418f97044c4063d61485f404a44d14e7 (diff)
downloadFreeBSD-src-788b235895ff7154d4548cecaa697384662eeaaf.zip
FreeBSD-src-788b235895ff7154d4548cecaa697384662eeaaf.tar.gz
Fix up NFS client write error handling. Errors are split into
recoverable and unrecoverable. For the former, we redirty the buffer and hang onto it for future retries. For the latter (eg. ESTALE), we discard the buffer and return the error back to the user on the next syscall. This fixes a number of vfs panics and fixes having a large number of dirty buffers (that cannot be written out and reclaimed) from hanging around. Thanks to ups@ for discussions on this issue. Reported by: kris, Kai, others Approved by: re (kensmith)
Diffstat (limited to 'lib/libc/stdlib/putenv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud