From owner-cvs-src@FreeBSD.ORG Thu Dec 8 23:00:32 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 2AD0D16A41F; Thu, 8 Dec 2005 23:00:32 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50EE143D78; Thu, 8 Dec 2005 23:00:31 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB8N0VxP024615; Thu, 8 Dec 2005 23:00:31 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB8N0V9R024614; Thu, 8 Dec 2005 23:00:31 GMT (envelope-from pjd) Message-Id: <200512082300.jB8N0V9R024614@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 8 Dec 2005 23:00:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/geom/nop g_nop.c g_nop.h src/sbin/geom/class/nop geom_nop.c gnop.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 08 Dec 2005 23:00:32 -0000 pjd 2005-12-08 23:00:31 UTC FreeBSD src repository Modified files: sys/geom/nop g_nop.c g_nop.h sbin/geom/class/nop geom_nop.c gnop.8 Log: Teach NOP GEOM class how to gather the following statistics: - number of read I/O requests, - number of write I/O requests, - number of read bytes, - number of written bytes. Add 'reset' subcommand for resetting statistics. Revision Changes Path 1.7 +3 -0 src/sbin/geom/class/nop/geom_nop.c 1.19 +22 -6 src/sbin/geom/class/nop/gnop.8 1.12 +68 -1 src/sys/geom/nop/g_nop.c 1.5 +6 -2 src/sys/geom/nop/g_nop.h