-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also check for deconfigured and check-stopped cards
When checking if a device is online, not only check the 'online' sysfs attribute, but also check the 'config' and 'chkstop' attributes. Cards and APQNs in check-stopped or deconfigured state can still be reported as online via the sysfs attribute, although they are not available. In case the 2 additional sysfs attributes are not available in sysfs, then just rely on the 'online' attribute only. Signed-off-by: Joerg Schmidbauer <[email protected]>
- Loading branch information
Showing
1 changed file
with
41 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters