Increase default synchronization speed.

MFC after: 3 days
This commit is contained in:
Pawel Jakub Dawidek 2005-01-09 14:43:39 +00:00
parent a6ac4fb307
commit 437566858a
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");