Commit 00fd2cb0 authored by Peter Oberparleiter's avatar Peter Oberparleiter Committed by Martin Schwidefsky

s390/sclp: Change SCLP console default buffer-full behavior

Dropping kernel messages during a console-buffer-full condition
is preferable to halting the system until console messages are
delivered, especially for production systems.

Update default for sclp_console_drop kernel parameter accordingly.
Signed-off-by: default avatarPeter Oberparleiter <peter.oberparleiter@linux.vnet.ibm.com>
Acked-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 198a5278
...@@ -53,7 +53,7 @@ static DECLARE_COMPLETION(sclp_request_queue_flushed); ...@@ -53,7 +53,7 @@ static DECLARE_COMPLETION(sclp_request_queue_flushed);
/* Number of console pages to allocate, used by sclp_con.c and sclp_vt220.c */ /* Number of console pages to allocate, used by sclp_con.c and sclp_vt220.c */
int sclp_console_pages = SCLP_CONSOLE_PAGES; int sclp_console_pages = SCLP_CONSOLE_PAGES;
/* Flag to indicate if buffer pages are dropped on buffer full condition */ /* Flag to indicate if buffer pages are dropped on buffer full condition */
int sclp_console_drop = 0; int sclp_console_drop = 1;
/* Number of times the console dropped buffer pages */ /* Number of times the console dropped buffer pages */
unsigned long sclp_console_full; unsigned long sclp_console_full;
...@@ -79,8 +79,8 @@ static int __init sclp_setup_console_drop(char *str) ...@@ -79,8 +79,8 @@ static int __init sclp_setup_console_drop(char *str)
int drop, rc; int drop, rc;
rc = kstrtoint(str, 0, &drop); rc = kstrtoint(str, 0, &drop);
if (!rc && drop) if (!rc)
sclp_console_drop = 1; sclp_console_drop = drop;
return 1; return 1;
} }
......
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