Received: by oss.sgi.com id ; Wed, 31 May 2000 08:54:45 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:47888 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 31 May 2000 08:54:32 -0700 Received: from zeus-fddi.cray.com (zeus-fddi.cray.com [128.162.8.103]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id IAA05096 for ; Wed, 31 May 2000 08:43:21 -0700 (PDT) mail_from (jtk@sgi.com) Received: from ironwood-e185.americas.sgi.com (ironwood.cray.com [128.162.185.212]) by zeus-fddi.cray.com (8.9.3/craymail-smart-nospam1.0) with ESMTP id KAA2076277 for ; Wed, 31 May 2000 10:37:18 -0500 (CDT) Received: from tiki.americas.sgi.com (tiki.americas.sgi.com [128.162.195.11]) by ironwood-e185.americas.sgi.com (8.8.4/SGI-ironwood-e1.5) with ESMTP id KAA04831; Wed, 31 May 2000 10:37:16 -0500 (CDT) From: Ted Kline Received: by tiki.americas.sgi.com (980427.SGI.8.8.8/SGI-client.1.6) id KAA53389; Wed, 31 May 2000 10:37:15 -0500 (CDT) Message-Id: <200005311537.KAA53389@tiki.americas.sgi.com> Date: Wed, 31 May 2000 10:37:15 -0500 (CDT) To: linux-xfs@oss.sgi.com Cc: jtk@sgi.com Subject: TAKE - Implement the "/proc/sys/fs/xfs_stats" printout. Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing XFS stats have been in the system for a long time; now they can be printed by: cat /proc/sys/fs/xfs_stats Date: Wed May 31 08:34:53 PDT 2000 Workarea: tiki.cray.com:/data/clink/io/jtk/work-linux2.3-99 The following file(s) were checked into: bonnie.engr.sgi.com:/isms/slinx/2.3.99pre2-xfs Modid: 2.3.99pre2-xfs:slinx:63085a cmd/xfs/sim/src/vnode.c - 1.55 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/sim/src/vnode.c.diff?r1=text&tr1=1.55&r2=text&tr2=1.54&f=h - Remove extraneous XFSSTATS & VOPINFO stats. linux/fs/xfs/xfs_vfsops.c - 1.272 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_vfsops.c.diff?r1=text&tr1=1.272&r2=text&tr2=1.271&f=h - Inintialize & cleanup the 'xfs_stats' /proc interface. linux/fs/xfs/xfs_inode.c - 1.291 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_inode.c.diff?r1=text&tr1=1.291&r2=text&tr2=1.290&f=h - Additional XFSSTATS. linux/fs/xfs/pseudo-inc/sys/ksa.h - 1.8 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/pseudo-inc/sys/ksa.h.diff?r1=text&tr1=1.8&r2=text&tr2=1.7&f=h - Use bigger stats containers. Drop old & unused entries. linux/fs/xfs/linux/xfs_random.c - 1.41 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_random.c.diff?r1=text&tr1=1.41&r2=text&tr2=1.40&f=h - Implement the 'xfs_stats' print interface via /proc/sys/fs/xfs_stats. linux/fs/xfs/linux/xfs_file.c - 1.31 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_file.c.diff?r1=text&tr1=1.31&r2=text&tr2=1.30&f=h - Add XFSSTATS to read/write. linux/fs/xfs/linux/xfs_vnode.c - 1.26 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_vnode.c.diff?r1=text&tr1=1.26&r2=text&tr2=1.25&f=h - Add VOPINFO stats for vn_active, vn_alloc, vn_free, vn_get, vn_remove.