cvs commit: src/sys/nfsclient nfs_bio.c
John Baldwin
jhb at FreeBSD.org
Tue Jul 3 18:30:56 UTC 2007
jhb 2007-07-03 18:30:55 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_bio.c
Log:
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)
Revision Changes Path
1.164 +15 -0 src/sys/nfsclient/nfs_bio.c
More information about the cvs-src
mailing list