Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161266316
D8254.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
949 B
Referenced Files
None
Subscribers
None
D8254.diff
View Options
Index: head/sys/amd64/amd64/minidump_machdep.c
===================================================================
--- head/sys/amd64/amd64/minidump_machdep.c
+++ head/sys/amd64/amd64/minidump_machdep.c
@@ -37,6 +37,7 @@
#include <sys/kernel.h>
#include <sys/kerneldump.h>
#include <sys/msgbuf.h>
+#include <sys/sysctl.h>
#include <sys/watchdog.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
@@ -68,6 +69,9 @@
static size_t counter, progress, dumpsize;
CTASSERT(sizeof(*vm_page_dump) == 8);
+static int dump_retry_count = 5;
+SYSCTL_INT(_machdep, OID_AUTO, dump_retry_count, CTLFLAG_RWTUN,
+ &dump_retry_count, 0, "Number of times dump has to retry before bailing out");
static int
is_dumpable(vm_paddr_t pa)
@@ -447,7 +451,7 @@
printf("\n");
if (error == ENOSPC) {
printf("Dump map grown while dumping. ");
- if (retry_count < 5) {
+ if (retry_count < dump_retry_count) {
printf("Retrying...\n");
goto retry;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 3, 7:02 AM (13 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34615299
Default Alt Text
D8254.diff (949 B)
Attached To
Mode
D8254: Retry_count in minidump 64 bit code delaying ENOSPC by around 30 minutes for live cores.
Attached
Detach File
Event Timeline
Log In to Comment