OpenSolaris

Printable Version Enter a New Search
Bug ID 4931580
Synopsis ufs_directio_kstat should be made KSTAT_TYPE_NAMED
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:ufs
Keywords directio | kiss | kstat | oss-bite-size | oss-request | ufs
Sponsor
Submitter
Responsible Engineer Rao Shoaib
Reported Against s81_58shwpl3
Duplicate Of
Introduced In
Commit to Fix snv_31
Fixed In snv_31
Release Fixed solaris_nevada(snv_31)
Related Bugs 6364570 , 6444524
Submit Date 2-October-2003
Last Update Date 9-January-2006
Description
For better observability, the ufs_directio_kstat should be made KSTAT_TYPE_NAMED instead of KSTAT_TYPE_RAW.  Currently, users have no visibility into UFS DIO to see if it is functioning properly.  kstat(1M) cannot see the ufs_directio_kstats as it is currently KSTAT_TYPE_RAW.
----

oss-bite-size

 xxxxx@xxxxx.com 2005-06-16 12:31:14 GMT
Work Around
 xxxxx@xxxxx.com 2003-10-07

workaround Steve Hahn posted in the email thread which resulted in this rfe:

 On Solaris 9 and later, you can easily get this information via mdb(1):

 # mdb -k
 Loading modules: [ unix krtld genunix ip usba s1394 nca ufs_log sppp
 nfs ptm ipc random ]
 > ufs_directio_kstats::print
 {
     logical_reads = 0
     phys_reads = 0
     hole_reads = 0
     nread = 0
     logical_writes = 0x4
     phys_writes = 0xc
     nwritten = 0x100000
     nflushes = 0
 }
Comments
N/A