mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev: provide site-specific information in lszdev
lszdev must be modified to share the site-specific configuration information from the persistent settings. The persistent configuration array will be read and tabularized based on the site-id input from the user. This patch also accommodates the site specific information in the lszdev --info command. New information about the site-ids are integrated with the command. For example, DEVICE dasd-eckd 0.0.f001 Names : - Modules : dasd_eckd_mod dasd_mod Online : no Exists : yes Persistent : yes Sites : 1,2 ATTRIBUTE ACTIVE PERSISTENT SITE1 SITE2 cmb_enable "0" "0" "1" - eer_enabled "0" - - - erplog "0" - - - failfast "0" - - - last_known_reservation_state "none" - - - online "0" "1" "1" "1" raw_track_access "0" - - - readonly "0" - - - reservation_policy "ignore" - - - use_diag "0" - - - Each available site specific configuration will be shown as column. The "Sites" parameter in the above output indicates the available site configurations and the SITE1 and SITE2 colums indicates the detailed configuration for the respective sites. Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
d66ace8121
commit
298ede17f5
@@ -116,5 +116,7 @@ struct setting_list *device_get_setting_list(struct device *dev,
|
||||
int site_id);
|
||||
|
||||
config_t device_get_config(struct device *dev);
|
||||
char *device_get_sites(struct device *dev);
|
||||
bool is_dev_pers(struct device *dev);
|
||||
|
||||
#endif /* DEVICE_H */
|
||||
|
||||
Reference in New Issue
Block a user