From owner-cvs-src@FreeBSD.ORG Fri Nov 5 10:55:05 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 0F33316A4D0; Fri, 5 Nov 2004 10:55:05 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA6043D39; Fri, 5 Nov 2004 10:55:04 +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 iA5At4lN087105; Fri, 5 Nov 2004 10:55:04 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA5At4hG087104; Fri, 5 Nov 2004 10:55:04 GMT (envelope-from pjd) Message-Id: <200411051055.iA5At4hG087104@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 5 Nov 2004 10:55:04 +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 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: Fri, 05 Nov 2004 10:55:05 -0000 pjd 2004-11-05 10:55:04 UTC FreeBSD src repository Modified files: sys/geom/mirror g_mirror.c Log: - Add a sysctl kern.geom.mirror.idletime, so one can specify after how many seconds of idling, DRITY flags are removed. - If mirror is in idle state or is not open for writing, sleep without timeout when waiting for I/O requests. - Don't use atomic operations, for now sysctls are protected by Giant. - Update debugs. Revision Changes Path 1.40 +37 -13 src/sys/geom/mirror/g_mirror.c