All of lore.kernel.org
 help / color / mirror / Atom feed
* Creating a subdirectory under fc_host statistics using fc_function_template
@ 2008-12-10 19:20 Krishna Gudipati
  0 siblings, 0 replies; 4+ messages in thread
From: Krishna Gudipati @ 2008-12-10 19:20 UTC (permalink / raw)
  To: linux-scsi; +Cc: James.Bottomley

Hello Everyone,

I have a small question on how to create a sub-directory to store my driver specific data under fc_host statistics.

Currently i am using the fc_function_template's  .get_fc_host_stats to export all my fc_host statistics. 

But now i need a way to create a directory under the /sys/class/fc_host/statistics 

lets say /sys/class/fc_host/statistics/hba/ns_stats to store all the specific information regarding name_server or 
this type of information for different stats we want to collect. Basically we are thinking of having a hierarchy 
under the fc_host/statistics folder so that we can display our driver specific information in a much cleaner fashion.

I researched looking at the current "struct fc_function_template" under scsi_transport_fc.c but did not find a way where i can specify 
that i need to create a folder under this statistics folder. I am not aware as of now if this feature of creating a hierarchy of directories for fc_host stats is in development.  

But we think that having our driver specific information under a subdirectory would make things look nicer. 

Can any of you linux guru's help me understand if this feature is currently in development? 
or 
is there any good way to tweak in and create a new subdirectory under the fc_host stats using the current fc_function_template? 

If this feature is not currently present or in dev can we add some code to the scsi_transport_fc.c to support this feature? 

Because we have a lot of driver specific information and we don't want to dump everything under the stats which can make things look a little messy. So we are planning to have a hierarchy so that we can sort out these properly.

Any help in this regard is really appreciated.

thanks in advance,

with regards,

CHAITANYA GUDIPATI
MS CS(COMPUTER NETWORKS)
UNIVERSITY OF SOUTHERN CALIFORNIA 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Creating a subdirectory under fc_host statistics using fc_function_template
@ 2008-12-10 19:39 Krishna Gudipati
  2008-12-18 17:22 ` James Smart
  0 siblings, 1 reply; 4+ messages in thread
From: Krishna Gudipati @ 2008-12-10 19:39 UTC (permalink / raw)
  To: linux-scsi; +Cc: James.Bottomley

Hello Everyone,

I have a small question on how to create a sub-directory to store my driver specific data under fc_host statistics.

Currently i am using the fc_function_template's  .get_fc_host_stats to export all my fc_host statistics. 

But now i need a way to create a directory under the /sys/class/fc_host/statistics 

lets say /sys/class/fc_host/statistics/hba/ns_stats to store all the specific information regarding name_server or 
this type of information for different stats we want to collect. Basically we are thinking of having a hierarchy 
under the fc_host/statistics folder so that we can display our driver specific information in a much cleaner fashion.

I researched looking at the current "struct fc_function_template" under scsi_transport_fc.c but did not find a way where i can specify 
that i need to create a folder under this statistics folder. I am not aware as of now if this feature of creating a hierarchy of directories for fc_host stats is in development.  

But we think that having our driver specific information under a subdirectory would make things look nicer. 

Can any of you linux guru's help me understand if this feature is currently in development? 
or 
is there any good way to tweak in and create a new subdirectory under the fc_host stats using the current fc_function_template? 

If this feature is not currently present or in dev can we add some code to the scsi_transport_fc.c to support this feature? 

Because we have a lot of driver specific information and we don't want to dump everything under the stats which can make things look a little messy. So we are planning to have a hierarchy so that we can sort out these properly.

Any help in this regard is really appreciated.

thanks in advance,


with regards,

KRISHNA CHAITANYA GUDIPATI
MS CS(COMPUTER NETWORKS)
UNIVERSITY OF SOUTHERN CALIFORNIA 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-04 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 19:20 Creating a subdirectory under fc_host statistics using fc_function_template Krishna Gudipati
  -- strict thread matches above, loose matches on Subject: below --
2008-12-10 19:39 Krishna Gudipati
2008-12-18 17:22 ` James Smart
2009-01-04 17:17   ` Mike Christie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.