From owner-cvs-src-old@FreeBSD.ORG Tue Sep 8 05:46:59 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 3566F10656C8 for ; Tue, 8 Sep 2009 05:46:59 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD408FC0C for ; Tue, 8 Sep 2009 05:46:59 +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 n885kwuk093211 for ; Tue, 8 Sep 2009 05:46:58 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n885kwqq093210 for cvs-src-old@freebsd.org; Tue, 8 Sep 2009 05:46:58 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <200909080546.n885kwqq093210@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Tue, 8 Sep 2009 05:46:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom geom_dev.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, 08 Sep 2009 05:46:59 -0000 mav 2009-09-08 05:46:38 UTC FreeBSD src repository Modified files: sys/geom geom_dev.c Log: SVN rev 196964 on 2009-09-08 05:46:38Z by mav Do not check proper request alignment here in geom_dev in production. It will be checked any way later by g_io_check() in g_io_schedule_down(). It is only needed here to not trigger panic from additional check, when INVARIANTS enabled. So cover it with #ifdef INVARIANTS. It saves two 64bit divisions per request. Revision Changes Path 1.103 +2 -2 src/sys/geom/geom_dev.c