From owner-cvs-src-old@FreeBSD.ORG Tue Oct 20 02:35:29 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57FE4106568B for ; Tue, 20 Oct 2009 02:35:29 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 45C6E8FC17 for ; Tue, 20 Oct 2009 02:35:29 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9K2ZTEO068622 for ; Tue, 20 Oct 2009 02:35:29 GMT (envelope-from kan@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9K2ZTq1068621 for cvs-src-old@freebsd.org; Tue, 20 Oct 2009 02:35:29 GMT (envelope-from kan@repoman.freebsd.org) Message-Id: <200910200235.n9K2ZTq1068621@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kan@repoman.freebsd.org using -f From: Alexander Kabaev Date: Tue, 20 Oct 2009 02:35:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c mpt_raid.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 02:35:29 -0000 kan 2009-10-20 02:35:12 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt.h mpt_cam.c mpt_raid.c Log: SVN rev 198262 on 2009-10-20 02:35:12Z by kan Use callout_init_mtx on FreeBSD versions recent enough. This closes the race where interrupt thread can complete the request for which timeout has fired and while mpt_timeout has blocked on mpt_lock. Do a best effort to keep 4.x ang Giant-locked configurartions compiling still. Reported by: ups Reviewed by: scottl Revision Changes Path 1.50 +9 -1 src/sys/dev/mpt/mpt.c 1.49 +18 -17 src/sys/dev/mpt/mpt.h 1.69 +5 -0 src/sys/dev/mpt/mpt_cam.c 1.23 +8 -3 src/sys/dev/mpt/mpt_raid.c