[RFC] sysfs attributes for additional zfcp adapter statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For zfcp, we still have the patch from
http://marc.info/?l=linux-scsi&m=119461369332621&w=2
pending that adds the export of additional statistics from the adapter
to sysfs. There were some discussions, whether the attributes should
be added to the SCSI host and devices, but there was no conclusion.

To find a solution that can be merged upstream, here is an overview of
the data currently available and the data that we want to add for the
adapter (The above patch also adds latencies to the SCSI devices, but
i think this should be discussed later).

As short background, on s390, an FCP adapter can be shared by multiple
Linux systems, that is the reason for the two data sets.

Currently, there is in the FC transport class
 - number of input/output/control requests
 - input/output megabytes
for the FCP adapter (== the sum of requests/transferred data for all
systems sharing the adapter).

The new patch adds 
 - number of input/output/control requests
 - input/ouput megabytes
for the current system using the adapter.  The proposal of the
patch was to add the attributes 'requests' and 'megabytes' to the SCSI
host in sysfs. Alternatives i currently see:
 - add attributes to the underlying CCW device (not the adapter)
 - add new attributes to the FC transport class

What is the best way to export the data?

The other two attributes for
 - utilization of channel and adapter and
 - time the connection between Linux and FCP adapter has been active
are not related to any existing attributes, but the question is the
same: Does the proposal for adding the data to the SCSI host make
sense, or should the data be added to the CCW device or the FC host
statistics?

Christof
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux