From owner-cvs-src@FreeBSD.ORG Mon Nov 21 19:24:09 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7246016A42D; Mon, 21 Nov 2005 19:24:09 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33F843D76; Mon, 21 Nov 2005 19:23:58 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jALJNlEn066836; Mon, 21 Nov 2005 19:23:47 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jALJNluf066835; Mon, 21 Nov 2005 19:23:47 GMT (envelope-from ps) Message-Id: <200511211923.jALJNluf066835@repoman.freebsd.org> From: Paul Saab Date: Mon, 21 Nov 2005 19:23:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/nfsclient nfs_bio.c nfs_vnops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 19:24:10 -0000 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