Satoshi Uchida
2006-Jun-23 11:36 UTC
[Xen-devel] [PATCH 0/1] Output Virtual Block Device requests information ver. 2
Hi, Keir. I changed the location to outputs statistical information of virtual block device (VBD) from the /proc file system to the sysfs. The location is ''statstics'' directory under each VBD directory, for example, /sys/devices/xen-backend/vbd-x-xxxx/statistics. The ''statistics'' directory includes the following three statistical informations. oo_req is the number of Out of(?) requests. rd_req is the number of pended READ requests. wr_req is the number of pended WRITE requests. These patches provide the function to output the information to sysfs. It does not include the modifications of a xentop command and a libxenstat library (these were included by the former patches). I plans to release the patches of xentop and libxenstat as soon as possible. Thanks, Satoshi UCHIDA. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Anthony Liguori
2006-Jun-23 13:57 UTC
[Xen-devel] Re: [PATCH 0/1] Output Virtual Block Device requests information ver. 2
You might want to send a note to LKML CC''ing GKH to validate that this is a reasonable sysfs naming convention. Or if anyone on the list can comment, that would be nice too. The kernel maintainers seem rather picky about how sysfs paths are chosen. Regards, Anthony Liguori On Fri, 23 Jun 2006 20:36:31 +0900, Satoshi Uchida wrote:> > Hi, Keir. > > I changed the location to outputs statistical information of virtual block device (VBD) > from the /proc file system to the sysfs. > The location is ''statstics'' directory under each VBD directory, > for example, /sys/devices/xen-backend/vbd-x-xxxx/statistics. > > The ''statistics'' directory includes the following three statistical informations. > oo_req > is the number of Out of(?) requests. > rd_req > is the number of pended READ requests. > wr_req > is the number of pended WRITE requests. > > These patches provide the function to output the information to sysfs. > It does not include the modifications of a xentop command and a libxenstat library > (these were included by the former patches). > I plans to release the patches of xentop and libxenstat as soon as possible. > > > Thanks, > Satoshi UCHIDA._______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel