Date: Tue, 3 Jul 2007 18:30:56 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_bio.c Message-ID: <200707031830.l63IUusN001483@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707031830.l63IUusN001483>
