From owner-svn-src-all@FreeBSD.ORG Tue Apr 7 17:08:02 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 278C21065678; Tue, 7 Apr 2009 17:08:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id ECCFA8FC0A; Tue, 7 Apr 2009 17:08:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 8AC0E46BC0; Tue, 7 Apr 2009 13:08:01 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 95DED8A03E; Tue, 7 Apr 2009 13:08:00 -0400 (EDT) From: John Baldwin To: Xin LI Date: Tue, 7 Apr 2009 13:07:29 -0400 User-Agent: KMail/1.9.7 References: <200904071640.n37GeWGb014706@svn.freebsd.org> In-Reply-To: <200904071640.n37GeWGb014706@svn.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200904071307.29778.jhb@freebsd.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 07 Apr 2009 13:08:00 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=4.2 tests=RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r190810 - head/sys/dev/hptmv X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 17:08:02 -0000 On Tuesday 07 April 2009 12:40:32 pm Xin LI wrote: > Author: delphij > Date: Tue Apr 7 16:40:31 2009 > New Revision: 190810 > URL: http://svn.freebsd.org/changeset/base/190810 > > Log: > When multiple cards are present, register a shutdown handler for each card > instead of just register one for the first adapter. Without doing this > there would be some data loss upon shutdown because data could be ignored > when flushing to disk. Have you considered just using a device_shutdown routine? It is invoked at shutdown_final as well but is easier to use (no need to keep track of eventhandler tags, etc.). -- John Baldwin