WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1/1] Output Virtual Block Device requests information

To: "'Keir Fraser'" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1/1] Output Virtual Block Device requests information ver. 2. Add information to sysfs.
From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
Date: Fri, 23 Jun 2006 20:37:03 +0900
Delivery-date: Fri, 23 Jun 2006 04:37:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaWuVjP0I/gDhWpSj2thUFiDX/gzA==
This patch adds VBD statistic informations to sysfs.

It creates 'statistics' directory under each VBD directory, and
makes a sysfs file for each statistical information of VBD.

Examples are as follows.
By applying this patch, sysfs creates "statistics" directory under the "vbd-*" 
directory.
The "statistics" directory includes three statistical information files  of VBD;
 oo_req, rd_req, wr_req. 

  [root@Domain-0 ~]# ls /sys/devices/xen-backend/vbd-1-2049/
  bus      driver  nodename         power       uevent
  devtype  mode    physical_device  statistics
  [root@Domain-0 ~]# ls /sys/devices/xen-backend/vbd-1-2049/statistics/
  oo_req  rd_req  wr_req
  [root@Domain-0 ~]# cat /sys/devices/xen-backend/vbd-1-2049/statistics/oo_req
  0
  [root@Domain-0 ~]# cat /sys/devices/xen-backend/vbd-1-2049/statistics/rd_req
  1592
  [root@Domain-0 ~]# cat /sys/devices/xen-backend/vbd-1-2049/statistics/wr_req
  565
  [root@Domain-0 ~]#


Thanks,
Satoshi UCHIDA

Attachment: Add_VBD_info_to_sysfs.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 1/1] Output Virtual Block Device requests information ver. 2. Add information to sysfs., Satoshi Uchida <=