Commit b179b037 authored by Stefan Haberland's avatar Stefan Haberland Committed by Martin Schwidefsky

s390/dasd: enhance CUIR scope detection

This patch adds an enhanced detection for control unit initiated
reconfiguration request scope.
The first approach assumed the scope of the reconfiguration request
to be restricted to the path on which the message was received.
The enhanced approach determines the full scope of the reconfiguration
request by evaluating additional path and device selection information
contained in the reconfiguration message.
Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reviewed-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: default avatarStefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 1eb38023
This diff is collapsed.
...@@ -355,7 +355,8 @@ struct dasd_gneq { ...@@ -355,7 +355,8 @@ struct dasd_gneq {
__u8 identifier:2; __u8 identifier:2;
__u8 reserved:6; __u8 reserved:6;
} __attribute__ ((packed)) flags; } __attribute__ ((packed)) flags;
__u8 reserved[5]; __u8 record_selector;
__u8 reserved[4];
struct { struct {
__u8 value:2; __u8 value:2;
__u8 number:6; __u8 number:6;
...@@ -492,10 +493,18 @@ struct alias_pav_group { ...@@ -492,10 +493,18 @@ struct alias_pav_group {
struct dasd_device *next; struct dasd_device *next;
}; };
struct dasd_conf_data {
struct dasd_ned neds[5];
u8 reserved[64];
struct dasd_gneq gneq;
} __packed;
struct dasd_eckd_private { struct dasd_eckd_private {
struct dasd_eckd_characteristics rdc_data; struct dasd_eckd_characteristics rdc_data;
u8 *conf_data; u8 *conf_data;
int conf_len; int conf_len;
/* per path configuration data */
struct dasd_conf_data *path_conf_data[8];
/* pointers to specific parts in the conf_data */ /* pointers to specific parts in the conf_data */
struct dasd_ned *ned; struct dasd_ned *ned;
struct dasd_sneq *sneq; struct dasd_sneq *sneq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment