From owner-cvs-src@FreeBSD.ORG Tue Jul 3 19:27:56 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76A2416A46D; Tue, 3 Jul 2007 19:27:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 229FD13C468; Tue, 3 Jul 2007 19:27:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l63JRrD7007228; Tue, 3 Jul 2007 15:27:54 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: src-committers@freebsd.org Date: Tue, 3 Jul 2007 14:39:06 -0400 User-Agent: KMail/1.9.6 References: <200707031830.l63IUusN001483@repoman.freebsd.org> In-Reply-To: <200707031830.l63IUusN001483@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707031439.07146.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 03 Jul 2007 15:27:54 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3586/Tue Jul 3 12:11:56 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/nfsclient nfs_bio.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: Tue, 03 Jul 2007 19:27:56 -0000 On Tuesday 03 July 2007 02:30:56 pm John Baldwin wrote: > jhb 2007-07-03 18:30:55 UTC > > FreeBSD src repository > > Modified files: > sys/nfsclient nfs_bio.c > Log: > Fix up NFS client write error handling. Errors are split into > recoverable and unrecoverable. For the former, we redirty the > buffer and hang onto it for future retries. For the latter (eg. > ESTALE), we discard the buffer and return the error back to the > user on the next syscall. This fixes a number of vfs panics and > fixes having a large number of dirty buffers (that cannot be > written out and reclaimed) from hanging around. Thanks to ups@ > for discussions on this issue. > > Reported by: kris, Kai, others > Approved by: re (kensmith) Oops, forgot: Submitted by: mohans MFC after: 1 week -- John Baldwin