cvs commit: src/sys/nfsclient nfs_bio.c nfs_vnops.c
Xin LI
delphij at FreeBSD.org
Tue Apr 18 05:31:58 UTC 2006
delphij 2006-04-18 05:31:58 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6_1)
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.6.1 +1 -1 src/sys/nfsclient/nfs_bio.c
1.258.2.4.2.1 +3 -4 src/sys/nfsclient/nfs_vnops.c
More information about the cvs-src
mailing list