From 437566858ae7cc31fc18d1b5ea2a9a27ebd1c402 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Sun, 9 Jan 2005 14:43:39 +0000 Subject: [PATCH] Increase default synchronization speed. MFC after: 3 days --- sys/geom/mirror/g_mirror.c | 2 +- sys/geom/raid3/g_raid3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index b699bfdbb369..f73e34798d11 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -66,7 +66,7 @@ static u_int g_mirror_reqs_per_sync = 5; SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, reqs_per_sync, CTLFLAG_RW, &g_mirror_reqs_per_sync, 0, "Number of regular I/O requests per synchronization request"); -static u_int g_mirror_syncs_per_sec = 100; +static u_int g_mirror_syncs_per_sec = 1000; SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, syncs_per_sec, CTLFLAG_RW, &g_mirror_syncs_per_sec, 0, "Number of synchronizations requests per second"); diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index e65cf4357ed4..ac4a1980083c 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -66,7 +66,7 @@ static u_int g_raid3_reqs_per_sync = 5; SYSCTL_UINT(_kern_geom_raid3, OID_AUTO, reqs_per_sync, CTLFLAG_RW, &g_raid3_reqs_per_sync, 0, "Number of regular I/O requests per synchronization request"); -static u_int g_raid3_syncs_per_sec = 100; +static u_int g_raid3_syncs_per_sec = 1000; SYSCTL_UINT(_kern_geom_raid3, OID_AUTO, syncs_per_sec, CTLFLAG_RW, &g_raid3_syncs_per_sec, 0, "Number of synchronizations requests per second");