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

Paul Saab ps at FreeBSD.org
Mon Nov 21 19:24:10 GMT 2005


ps          2005-11-21 19:23:47 UTC

  FreeBSD src repository

  Modified files:
    sys/nfsclient        nfs_bio.c nfs_vnops.c 
  Log:
  - 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
  
  Revision  Changes    Path
  1.154     +1 -1      src/sys/nfsclient/nfs_bio.c
  1.262     +3 -4      src/sys/nfsclient/nfs_vnops.c


More information about the cvs-src mailing list