cvs commit: src/sys/nfsclient nfs_bio.c nfs_vnops.c

Xin LI delphij at
Tue Apr 18 05:28:42 UTC 2006

delphij     2006-04-18 05:28:41 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/nfsclient        nfs_bio.c nfs_vnops.c 
  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
   - 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 -1      src/sys/nfsclient/nfs_bio.c  +3 -4      src/sys/nfsclient/nfs_vnops.c

More information about the cvs-src mailing list