Date: Tue, 18 Apr 2006 05:28:41 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_bio.c nfs_vnops.c Message-ID: <200604180528.k3I5SfTo059921@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2006-04-18 05:28:41 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/nfsclient nfs_bio.c nfs_vnops.c
Log:
MFC src/sys/nfsclient/nfs_bio.c,v 1.154
and src/sys/nfsclient/nfs_vnops.c,v 1.262 (by ps@):
- Always return success from NFS strategy. nfs_doio(), in the
event of an error, does the right thing, in terms of setting
the error flags in the buf header. That fixes a crash from
bstrategy().
- Treat ETIMEDOUT as a "recoverable" error, causing the buffer
to be re-dirtied. ETIMEDOUT can occur on soft mounts, when
the number of retries are exceeded, and we don't want data loss
in that case.
Submitted by: Mohan Srinivasan
Approved by: re (scottl)
Revision Changes Path
1.152.2.1 +1 -1 src/sys/nfsclient/nfs_bio.c
1.258.2.6 +3 -4 src/sys/nfsclient/nfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604180528.k3I5SfTo059921>
