From owner-cvs-src@FreeBSD.ORG Wed Aug 11 23:41:53 2004 Return-Path: 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 8FBB416A4CE; Wed, 11 Aug 2004 23:41:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8299343D53; Wed, 11 Aug 2004 23:41:53 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7BNfrps095533; Wed, 11 Aug 2004 23:41:53 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7BNfrL0095532; Wed, 11 Aug 2004 23:41:53 GMT (envelope-from pjd) Message-Id: <200408112341.i7BNfrL0095532@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Wed, 11 Aug 2004 23:41:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 11 Aug 2004 23:41:53 -0000 pjd 2004-08-11 23:41:53 UTC FreeBSD src repository Modified files: sys/geom/mirror g_mirror.c g_mirror.h Log: MFp4: Simplify code a bit: - Remove kern.geom.mirror.sync_block_size sysctl. It is quite obvious that we want to use the biggest size possible. - Do not use UMA zone for sync data allocations. There could be only one synchronization request per synchronized disk at a time, so allocate memory for one request on whole synchronization process related to one disk. Tested by synchronizing one component (out of three) and by synchronizing two components (out of three) in parallel. Revision Changes Path 1.18 +6 -14 src/sys/geom/mirror/g_mirror.c 1.8 +6 -6 src/sys/geom/mirror/g_mirror.h