diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2007-04-27 10:01:34 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-04-27 10:01:40 -0400 |
commit | 83b3370c79b91b9be3f6540c3c914e689134b45f (patch) | |
tree | ad7c062b260c0259c74e45ff869208c1ad139629 /drivers/s390/cio/chsc.h | |
parent | 387b734fc2b55f776b192c7afdfd892ba42347d4 (diff) |
[S390] cio: replace subchannel evaluation queue with bitmap
Use a bitmap for indicating which subchannels require evaluation
instead of allocating memory for each evaluation request. This
approach reduces memory consumption during recovery in case of
massive evaluation request occurrence and removes the need for
memory allocation failure handling.
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index 322586f27cc0..742ef57d2c58 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h | |||
@@ -36,7 +36,7 @@ struct channel_path_desc { | |||
36 | struct channel_path; | 36 | struct channel_path; |
37 | 37 | ||
38 | extern int css_get_ssd_info(struct subchannel *); | 38 | extern int css_get_ssd_info(struct subchannel *); |
39 | extern int chsc_process_crw(void); | 39 | extern void chsc_process_crw(void); |
40 | 40 | ||
41 | struct css_general_char { | 41 | struct css_general_char { |
42 | u64 : 41; | 42 | u64 : 41; |
@@ -79,7 +79,7 @@ extern int chsc_secm(struct channel_subsystem *, int); | |||
79 | int chsc_chp_vary(struct chp_id chpid, int on); | 79 | int chsc_chp_vary(struct chp_id chpid, int on); |
80 | int chsc_determine_channel_path_description(struct chp_id chpid, | 80 | int chsc_determine_channel_path_description(struct chp_id chpid, |
81 | struct channel_path_desc *desc); | 81 | struct channel_path_desc *desc); |
82 | int chsc_chp_online(struct chp_id chpid); | 82 | void chsc_chp_online(struct chp_id chpid); |
83 | void chsc_chp_offline(struct chp_id chpid); | 83 | void chsc_chp_offline(struct chp_id chpid); |
84 | int chsc_get_channel_measurement_chars(struct channel_path *chp); | 84 | int chsc_get_channel_measurement_chars(struct channel_path *chp); |
85 | 85 | ||