Bug 642424
Summary: | [RFE] Support performance statistics in /sys/class/fc_host/host?/statistics for QLogic FibreChannel HBAs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Chris Williams <cww> |
Component: | kernel | Assignee: | Red Hat Kernel Manager <kernel-mgr> |
Status: | CLOSED CANTFIX | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | jentrena, mgoodwin, syeghiay |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | 642422 | Environment: | |
Last Closed: | 2011-03-18 12:35:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 642422 | ||
Bug Blocks: | 662543 |
According to Bug #642422, we can't really export more fc host statistics as we already export what is available from our firmware. Closing. |
The kernel module for the QLogic FibreChannel HBAs does not provide the performance statistics announced at /sys/class/fc_host/host?/statistics: [root statistics]# pwd /sys/class/fc_host/host5/statistics [root statistics]# for i in `ls` > do > echo -n "$i: " > cat $i > done dumped_frames: 0xffffffffffffffff error_frames: 0xffffffffffffffff fcp_control_requests: 0xffffffffffffffff fcp_input_megabytes: 0x613 fcp_input_requests: 0xffffffffffffffff fcp_output_megabytes: 0x36a fcp_output_requests: 0xffffffffffffffff invalid_crc_count: 0x0 invalid_tx_word_count: 0xb link_failure_count: 0x0 lip_count: 0xffffffffffffffff loss_of_signal_count: 0x1 loss_of_sync_count: 0x1 nos_count: 0xffffffffffffffff prim_seq_protocol_err_count: 0x0 reset_statistics: cat: reset_statistics: Permission denied rx_frames: 0xffffffffffffffff rx_words: 0xffffffffffffffff seconds_since_last_reset: 0xffffffffffffffff tx_frames: 0xffffffffffffffff tx_words: 0xffffffffffffffff Most values have -1 values. Furthermore, the QLogic SANSurfer CLI is not able to display HBA statistics from the Red Hat provided driver: [root statistics]# scli -gs 0 This feature is not supported with current driver! The driver should provide this information and/or should support the QLogic SANSurfer CLI utility. Currently the QLogic driver provided by Red Hat does not provide this information. The QLogic driver provided by QLogic does. Files in /sys/class/fc_host/host?/statistics should show the proper statistics information for each HBA. Also, if possible, the QLogic SANSurfer utility should be able to grab this information from the driver too.